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 | |
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')
-rw-r--r-- | recipes/drive/package.json | 2 | ||||
-rw-r--r-- | recipes/drive/webview.js | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/recipes/drive/package.json b/recipes/drive/package.json index dd936f1..3bb9c85 100644 --- a/recipes/drive/package.json +++ b/recipes/drive/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "drive", | 2 | "id": "drive", |
3 | "name": "Drive", | 3 | "name": "Drive", |
4 | "version": "1.0.0", | 4 | "version": "1.0.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "repository": "https://github.com/gaspergrom/Franz-services", | 6 | "repository": "https://github.com/gaspergrom/Franz-services", |
7 | "config": { | 7 | "config": { |
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 | } |