diff options
Diffstat (limited to 'recipes/amazon-work-mail/webview.js')
-rw-r--r-- | recipes/amazon-work-mail/webview.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes/amazon-work-mail/webview.js b/recipes/amazon-work-mail/webview.js index 36967fd..0eeb323 100644 --- a/recipes/amazon-work-mail/webview.js +++ b/recipes/amazon-work-mail/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 | const reload = EventType => | 7 | const reload = EventType => |
2 | new Promise((resolve, reject) => { | 8 | new Promise((resolve, reject) => { |
3 | const btn = document.querySelectorAll('.giraffe-hierarchy-node-refresh')[0]; | 9 | const btn = document.querySelectorAll('.giraffe-hierarchy-node-refresh')[0]; |
@@ -30,4 +36,6 @@ module.exports = Ferdium => { | |||
30 | reload('click'); | 36 | reload('click'); |
31 | }, 60_000); | 37 | }, 60_000); |
32 | } | 38 | } |
39 | |||
40 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
33 | }; | 41 | }; |