From 096dcde629558e4442aeaba2482012e8e926aa65 Mon Sep 17 00:00:00 2001 From: Ramiro Saenz Date: Thu, 19 Jan 2017 16:13:54 -0300 Subject: [PATCH] Added Unread code to Yandex Mail Fixes #413 --- app/store/ServicesList.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/store/ServicesList.js b/app/store/ServicesList.js index 4a76745e..c597ae8a 100644 --- a/app/store/ServicesList.js +++ b/app/store/ServicesList.js @@ -457,6 +457,7 @@ Ext.define('Rambox.store.ServicesList', { ,description: 'Yandex is a free webmail service with unlimited mail storage, protection from viruses and spam, access from web interface, etc.' ,url: 'https://mail.yandex.com/' ,type: 'email' + ,js_unread: 'function checkUnread(){var t=parseInt($(".mail-MessagesFilters-Item_unread .mail-LabelList-Item_count").html());updateBadge(isNaN(t)?0:t)}function updateBadge(e){e>=1?document.title="("+e+") "+originalTitle:document.title=originalTitle}var originalTitle=document.title;setInterval(checkUnread,3000);' }, { id: 'irccloud'