diff options
author | 2022-04-18 06:51:50 -0500 | |
---|---|---|
committer | 2022-04-18 06:51:50 -0500 | |
commit | 18801ed0c02627e87639dc0848cab44dacc18be2 (patch) | |
tree | 15e56ba66c68bf7b4594e6c9fdef44e037b4be31 /recipes/zoho/webview.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/zoho/webview.js')
-rw-r--r-- | recipes/zoho/webview.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/recipes/zoho/webview.js b/recipes/zoho/webview.js index 7c833a3..02a5039 100644 --- a/recipes/zoho/webview.js +++ b/recipes/zoho/webview.js | |||
@@ -2,9 +2,9 @@ const _path = _interopRequireDefault(require('path')); | |||
2 | 2 | ||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | 3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
4 | 4 | ||
5 | module.exports = (Ferdi) => { | 5 | module.exports = (Ferdium) => { |
6 | const getMessages = () => { | 6 | const getMessages = () => { |
7 | Ferdi.injectJSUnsafe(_path.default.join(__dirname, 'webview-unsafe.js')); | 7 | Ferdium.injectJSUnsafe(_path.default.join(__dirname, 'webview-unsafe.js')); |
8 | }; | 8 | }; |
9 | 9 | ||
10 | //Zoho uses different URLs for different regions. Find out which region the account belongs to and redirect to the correct URL. | 10 | //Zoho uses different URLs for different regions. Find out which region the account belongs to and redirect to the correct URL. |
@@ -18,6 +18,5 @@ module.exports = (Ferdi) => { | |||
18 | } | 18 | } |
19 | 19 | ||
20 | window.addEventListener('load', redirectRegion); | 20 | window.addEventListener('load', redirectRegion); |
21 | Ferdi.loop(getMessages); | 21 | Ferdium.loop(getMessages); |
22 | |||
23 | }; | 22 | }; |