aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/basecamp/webview.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-18 06:51:50 -0500
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-18 06:51:50 -0500
commit18801ed0c02627e87639dc0848cab44dacc18be2 (patch)
tree15e56ba66c68bf7b4594e6c9fdef44e037b4be31 /recipes/basecamp/webview.js
parentRemove deprecated webPreference flag (diff)
downloadferdium-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/basecamp/webview.js')
-rw-r--r--recipes/basecamp/webview.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/basecamp/webview.js b/recipes/basecamp/webview.js
index 9d8e677..7d13751 100644
--- a/recipes/basecamp/webview.js
+++ b/recipes/basecamp/webview.js
@@ -12,7 +12,7 @@ function hide(element) {
12 element.style.display = 'none'; 12 element.style.display = 'none';
13} 13}
14 14
15module.exports = Ferdi => { 15module.exports = Ferdium => {
16 const modal = document.createElement('div'); 16 const modal = document.createElement('div');
17 17
18 const waitFor = (condition, callback) => { 18 const waitFor = (condition, callback) => {
@@ -41,7 +41,7 @@ module.exports = Ferdi => {
41 } 41 }
42 } 42 }
43 43
44 // Replace window.alert to hide alerts in Ferdi 44 // Replace window.alert to hide alerts in Ferdium
45 const oldAlert = window.alert; 45 const oldAlert = window.alert;
46 window.alert = function () { 46 window.alert = function () {
47 // when Google Calendar displays an alert notify the user 47 // when Google Calendar displays an alert notify the user
@@ -67,5 +67,5 @@ module.exports = Ferdi => {
67 } 67 }
68 }); 68 });
69 69
70 Ferdi.injectCSS(_path.default.join(__dirname, 'css', 'modal.css')); 70 Ferdium.injectCSS(_path.default.join(__dirname, 'css', 'modal.css'));
71}; 71};