aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gotify/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/gotify/webview.js')
-rw-r--r--recipes/gotify/webview.js6
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 @@
1const _path = _interopRequireDefault(require('path'));
2
3function _interopRequireDefault(obj) { 1function _interopRequireDefault(obj) {
4 return obj && obj.__esModule ? obj : { default: obj }; 2 return obj && obj.__esModule ? obj : { default: obj };
5} 3}
6 4
5const _path = _interopRequireDefault(require('path'));
6
7module.exports = Ferdium => { 7module.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 };