diff options
Diffstat (limited to 'recipes/yandex-mail')
-rw-r--r-- | recipes/yandex-mail/index.js | 2 | ||||
-rw-r--r-- | recipes/yandex-mail/package.json | 2 | ||||
-rw-r--r-- | recipes/yandex-mail/webview.js | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/recipes/yandex-mail/index.js b/recipes/yandex-mail/index.js index 23607bd..dd41f72 100644 --- a/recipes/yandex-mail/index.js +++ b/recipes/yandex-mail/index.js | |||
@@ -1 +1 @@ | |||
module.exports = Ferdi => Ferdi; | module.exports = Ferdium => Ferdium; | ||
diff --git a/recipes/yandex-mail/package.json b/recipes/yandex-mail/package.json index 0e5bbfb..f2f4df3 100644 --- a/recipes/yandex-mail/package.json +++ b/recipes/yandex-mail/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "yandex-mail", | 2 | "id": "yandex-mail", |
3 | "name": "Yandex Mail", | 3 | "name": "Yandex Mail", |
4 | "version": "1.0.1", | 4 | "version": "1.1.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://mail.yandex.ru" | 7 | "serviceURL": "https://mail.yandex.ru" |
diff --git a/recipes/yandex-mail/webview.js b/recipes/yandex-mail/webview.js index fff4602..66b82a7 100644 --- a/recipes/yandex-mail/webview.js +++ b/recipes/yandex-mail/webview.js | |||
@@ -1,13 +1,13 @@ | |||
1 | module.exports = Ferdi => { | 1 | module.exports = Ferdium => { |
2 | const getMessages = () => { | 2 | const getMessages = () => { |
3 | let count = 0; | 3 | let count = 0; |
4 | 4 | ||
5 | if (document.querySelectorAll('.mail-LabelList-Item_count').length > 1) { | 5 | if (document.querySelectorAll('.mail-LabelList-Item_count').length > 1) { |
6 | count = Ferdi.safeParseInt(document.querySelectorAll('.mail-LabelList-Item_count')[1].textContent); | 6 | count = Ferdium.safeParseInt(document.querySelectorAll('.mail-LabelList-Item_count')[1].textContent); |
7 | } | 7 | } |
8 | 8 | ||
9 | Ferdi.setBadge(count); | 9 | Ferdium.setBadge(count); |
10 | }; | 10 | }; |
11 | 11 | ||
12 | Ferdi.loop(getMessages); | 12 | Ferdium.loop(getMessages); |
13 | }; | 13 | }; |