aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/tt-rss/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/tt-rss/webview.js')
-rw-r--r--recipes/tt-rss/webview.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/tt-rss/webview.js b/recipes/tt-rss/webview.js
index 1bb700a..3e3a0d3 100644
--- a/recipes/tt-rss/webview.js
+++ b/recipes/tt-rss/webview.js
@@ -1,6 +1,6 @@
1"use strict"; 1"use strict";
2 2
3module.exports = Ferdi => { 3module.exports = Ferdium => {
4 const getMessages = function getMessages() { 4 const getMessages = function getMessages() {
5 // Initialize empty vars 5 // Initialize empty vars
6 var unread = 0; 6 var unread = 0;
@@ -10,12 +10,12 @@ module.exports = Ferdi => {
10 // Some logic to handle the match groups 10 // Some logic to handle the match groups
11 unread = match != null && match.length > 0 ? match[1] : 0; 11 unread = match != null && match.length > 0 ? match[1] : 0;
12 // Set unread msgs badge 12 // Set unread msgs badge
13 Ferdi.setBadge(Number.parseInt(unread, 10)); 13 Ferdium.setBadge(Number.parseInt(unread, 10));
14 }; 14 };
15 15
16 const loopFunc = () => { 16 const loopFunc = () => {
17 getMessages(); 17 getMessages();
18 }; 18 };
19 19
20 Ferdi.loop(loopFunc); 20 Ferdium.loop(loopFunc);
21}; 21};