diff options
Diffstat (limited to 'recipes/roundcube/webview.js')
-rw-r--r-- | recipes/roundcube/webview.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes/roundcube/webview.js b/recipes/roundcube/webview.js index f9aead4..d7f00c5 100644 --- a/recipes/roundcube/webview.js +++ b/recipes/roundcube/webview.js | |||
@@ -1,3 +1,9 @@ | |||
1 | function _interopRequireDefault(obj) { | ||
2 | return obj && obj.__esModule ? obj : { default: obj }; | ||
3 | } | ||
4 | |||
5 | const _path = _interopRequireDefault(require('path')); | ||
6 | |||
1 | module.exports = Ferdium => { | 7 | module.exports = Ferdium => { |
2 | const getMessages = () => { | 8 | const getMessages = () => { |
3 | const directElements = document.querySelectorAll('.unreadcount'); | 9 | const directElements = document.querySelectorAll('.unreadcount'); |
@@ -9,4 +15,6 @@ module.exports = Ferdium => { | |||
9 | }; | 15 | }; |
10 | 16 | ||
11 | Ferdium.loop(getMessages); | 17 | Ferdium.loop(getMessages); |
18 | |||
19 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
12 | }; | 20 | }; |