diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2022-04-18 06:51:50 -0500 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2022-04-18 06:51:50 -0500 |
commit | 18801ed0c02627e87639dc0848cab44dacc18be2 (patch) | |
tree | 15e56ba66c68bf7b4594e6c9fdef44e037b4be31 /recipes/googlecalendar/webview-unsafe.js | |
parent | Remove deprecated webPreference flag (diff) | |
download | ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.tar.gz ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.tar.zst ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.zip |
Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2)
Diffstat (limited to 'recipes/googlecalendar/webview-unsafe.js')
-rw-r--r-- | recipes/googlecalendar/webview-unsafe.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/googlecalendar/webview-unsafe.js b/recipes/googlecalendar/webview-unsafe.js index 141d3bc..7840600 100644 --- a/recipes/googlecalendar/webview-unsafe.js +++ b/recipes/googlecalendar/webview-unsafe.js | |||
@@ -12,14 +12,14 @@ const waitFor = (condition, callback) => { | |||
12 | const showModal = text => { | 12 | const showModal = text => { |
13 | modal.querySelector('p').textContent = text; | 13 | modal.querySelector('p').textContent = text; |
14 | updates += 1; | 14 | updates += 1; |
15 | window.ferdi.setBadge(updates); | 15 | window.ferdium.setBadge(updates); |
16 | modal.classList.add('open'); | 16 | modal.classList.add('open'); |
17 | }; | 17 | }; |
18 | 18 | ||
19 | const hideModal = () => { | 19 | const hideModal = () => { |
20 | modal.querySelector('p').textContent = ''; | 20 | modal.querySelector('p').textContent = ''; |
21 | updates -= 1; | 21 | updates -= 1; |
22 | window.ferdi.setBadge(updates); | 22 | window.ferdium.setBadge(updates); |
23 | modal.classList.remove('open'); | 23 | modal.classList.remove('open'); |
24 | }; | 24 | }; |
25 | 25 | ||