aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/dropbox/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/dropbox/webview.js')
-rw-r--r--recipes/dropbox/webview.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/recipes/dropbox/webview.js b/recipes/dropbox/webview.js
index 0cfbc7d..0740019 100644
--- a/recipes/dropbox/webview.js
+++ b/recipes/dropbox/webview.js
@@ -1,9 +1,3 @@
1var _path = _interopRequireDefault(require("path"));
2
3function _interopRequireDefault(obj) {
4 return obj && obj.__esModule ? obj : { default: obj };
5}
6
7module.exports = (Ferdi) => { 1module.exports = (Ferdi) => {
8 const getMessages = () => { 2 const getMessages = () => {
9 const hasNotifications = document.querySelector(".dig-NotificationBadge"); 3 const hasNotifications = document.querySelector(".dig-NotificationBadge");
@@ -11,6 +5,4 @@ module.exports = (Ferdi) => {
11 Ferdi.setBadge(0, hasNotifications ? 1 : 0); 5 Ferdi.setBadge(0, hasNotifications ? 1 : 0);
12 }; 6 };
13 Ferdi.loop(getMessages); 7 Ferdi.loop(getMessages);
14
15 Ferdi.injectCSS(_path.default.join(__dirname, "service.css"));
16}; 8};