aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/vk/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/vk/webview.js')
-rw-r--r--recipes/vk/webview.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/recipes/vk/webview.js b/recipes/vk/webview.js
index fcf0571..ab6c619 100644
--- a/recipes/vk/webview.js
+++ b/recipes/vk/webview.js
@@ -5,10 +5,6 @@ module.exports = Franz => {
5 directs = parseInt(document.getElementsByClassName('left_count')[0].innerText, 10); 5 directs = parseInt(document.getElementsByClassName('left_count')[0].innerText, 10);
6 } 6 }
7 7
8 if (isNaN(directs)) {
9 directs = 0;
10 }
11
12 Franz.setBadge(directs); 8 Franz.setBadge(directs);
13 }; 9 };
14 10