diff options
Diffstat (limited to 'recipes/gotify/webview.js')
-rw-r--r-- | recipes/gotify/webview.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/gotify/webview.js b/recipes/gotify/webview.js index 46762ed..420275a 100644 --- a/recipes/gotify/webview.js +++ b/recipes/gotify/webview.js | |||
@@ -1,12 +1,12 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { | 1 | function _interopRequireDefault(obj) { |
4 | return obj && obj.__esModule ? obj : { default: obj }; | 2 | return obj && obj.__esModule ? obj : { default: obj }; |
5 | } | 3 | } |
6 | 4 | ||
5 | const _path = _interopRequireDefault(require('path')); | ||
6 | |||
7 | module.exports = Ferdium => { | 7 | module.exports = Ferdium => { |
8 | const getMessages = () => { | 8 | const getMessages = () => { |
9 | let count = document.querySelectorAll('#messages').length; | 9 | const count = document.querySelectorAll('#messages').length; |
10 | 10 | ||
11 | Ferdium.setBadge(count); | 11 | Ferdium.setBadge(count); |
12 | }; | 12 | }; |