diff options
Diffstat (limited to 'recipes/googlemeet/webview.js')
-rw-r--r-- | recipes/googlemeet/webview.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/recipes/googlemeet/webview.js b/recipes/googlemeet/webview.js index 6ea36f3..f3c0f46 100644 --- a/recipes/googlemeet/webview.js +++ b/recipes/googlemeet/webview.js | |||
@@ -12,7 +12,7 @@ window.addEventListener('load', () => { | |||
12 | } | 12 | } |
13 | }); | 13 | }); |
14 | 14 | ||
15 | module.exports = (Ferdi, settings) => { | 15 | module.exports = (Ferdium, settings) => { |
16 | const getMessages = () => { | 16 | const getMessages = () => { |
17 | const elements = document.querySelectorAll('.CxUIE, .unread'); | 17 | const elements = document.querySelectorAll('.CxUIE, .unread'); |
18 | let count = 0; | 18 | let count = 0; |
@@ -23,14 +23,14 @@ module.exports = (Ferdi, settings) => { | |||
23 | } | 23 | } |
24 | } | 24 | } |
25 | 25 | ||
26 | Ferdi.setBadge(count); | 26 | Ferdium.setBadge(count); |
27 | }; | 27 | }; |
28 | 28 | ||
29 | Ferdi.loop(getMessages); | 29 | Ferdium.loop(getMessages); |
30 | 30 | ||
31 | window.addEventListener('beforeunload', async () => { | 31 | window.addEventListener('beforeunload', async () => { |
32 | Ferdi.clearStorageData(settings.id, { storages: ['serviceworkers'] }); | 32 | Ferdium.clearStorageData(settings.id, { storages: ['serviceworkers'] }); |
33 | }); | 33 | }); |
34 | 34 | ||
35 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | 35 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); |
36 | }; | 36 | }; |