aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/simplenote/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/simplenote/webview.js')
-rw-r--r--recipes/simplenote/webview.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes/simplenote/webview.js b/recipes/simplenote/webview.js
index ae392f5..b4180e4 100644
--- a/recipes/simplenote/webview.js
+++ b/recipes/simplenote/webview.js
@@ -1,4 +1,4 @@
1module.exports = Ferdi => { 1module.exports = Ferdium => {
2 const getMessages = () => { 2 const getMessages = () => {
3 let count = 0; 3 let count = 0;
4 4
@@ -11,12 +11,12 @@ module.exports = Ferdi => {
11 '.nav-item--messaging .nav-item__badge-count', 11 '.nav-item--messaging .nav-item__badge-count',
12 ); 12 );
13 if (element) { 13 if (element) {
14 count = Ferdi.safeParseInt(element.textContent); 14 count = Ferdium.safeParseInt(element.textContent);
15 } 15 }
16 } 16 }
17 17
18 Ferdi.setBadge(count); 18 Ferdium.setBadge(count);
19 }; 19 };
20 20
21 Ferdi.loop(getMessages); 21 Ferdium.loop(getMessages);
22}; 22};