aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/dingtalk/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/dingtalk/webview.js')
-rw-r--r--recipes/dingtalk/webview.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes/dingtalk/webview.js b/recipes/dingtalk/webview.js
index 59881cf..621285c 100644
--- a/recipes/dingtalk/webview.js
+++ b/recipes/dingtalk/webview.js
@@ -4,7 +4,7 @@ function _interopRequireDefault(obj) {
4 return obj && obj.__esModule ? obj : { default: obj }; 4 return obj && obj.__esModule ? obj : { default: obj };
5} 5}
6 6
7module.exports = Ferdi => { 7module.exports = Ferdium => {
8 let checkIsRun = false; 8 let checkIsRun = false;
9 const checkHeightAction = () => { 9 const checkHeightAction = () => {
10 checkIsRun = true; 10 checkIsRun = true;
@@ -34,10 +34,10 @@ module.exports = Ferdi => {
34 34
35 const getMessages = () => { 35 const getMessages = () => {
36 const x = document.querySelectorAll('.unread-num em.ng-binding'); 36 const x = document.querySelectorAll('.unread-num em.ng-binding');
37 Ferdi.setBadge(x.length > 0 ? x[0].textContent : 0); 37 Ferdium.setBadge(x.length > 0 ? x[0].textContent : 0);
38 }; 38 };
39 39
40 Ferdi.loop(getMessages); 40 Ferdium.loop(getMessages);
41 41
42 Ferdi.injectCSS(_path.default.join(__dirname, 'style.css')); 42 Ferdium.injectCSS(_path.default.join(__dirname, 'style.css'));
43}; 43};