diff options
author | 2021-09-19 07:26:25 +0530 | |
---|---|---|
committer | 2021-09-19 09:11:55 +0530 | |
commit | 7517a409a1a502c747eb4598492a88cec4e8d58c (patch) | |
tree | 7b6b603b0831845ac07fe6ab8e4c52bf19c8e850 /recipes/drive/webview.js | |
parent | Merge pull request #713 from kris7t/fix-api-access (diff) | |
download | ferdium-recipes-7517a409a1a502c747eb4598492a88cec4e8d58c.tar.gz ferdium-recipes-7517a409a1a502c747eb4598492a88cec4e8d58c.tar.zst ferdium-recipes-7517a409a1a502c747eb4598492a88cec4e8d58c.zip |
fix: fix js error; styling
Diffstat (limited to 'recipes/drive/webview.js')
-rw-r--r-- | recipes/drive/webview.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes/drive/webview.js b/recipes/drive/webview.js index ed32d8e..cc1ed84 100644 --- a/recipes/drive/webview.js +++ b/recipes/drive/webview.js | |||
@@ -2,8 +2,8 @@ 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 = (Franz) => { | 5 | module.exports = (Ferdi) => { |
6 | function getMessages() { | 6 | const getMessages = () => { |
7 | let direct = 0; | 7 | let direct = 0; |
8 | let indirect = 0; | 8 | let indirect = 0; |
9 | const data = document.querySelector('#FranzMessages').dataset; | 9 | const data = document.querySelector('#FranzMessages').dataset; |
@@ -12,9 +12,9 @@ module.exports = (Franz) => { | |||
12 | indirect = data.indirect; | 12 | indirect = data.indirect; |
13 | } | 13 | } |
14 | 14 | ||
15 | Franz.setBadge(direct, indirect); | 15 | Ferdi.setBadge(direct, indirect); |
16 | } | 16 | } |
17 | 17 | ||
18 | Franz.loop(getMessages); | 18 | Ferdi.loop(getMessages); |
19 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | 19 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); |
20 | } | 20 | } |