diff --git a/app/store/ServicesList.js b/app/store/ServicesList.js index e2d21734..cdd6e5d8 100644 --- a/app/store/ServicesList.js +++ b/app/store/ServicesList.js @@ -116,7 +116,7 @@ Ext.define('Rambox.store.ServicesList', { ,url: 'https://mail.google.com/mail/?labs=0' ,type: 'email' ,allow_popups: true - ,js_unread: 'function checkUnread(){var a=document.getElementsByClassName("aim")[0];updateBadge(-1!=a.textContent.indexOf("(")&&(t=parseInt(a.textContent.replace(/[^0-9]/g,""))))}function updateBadge(a){a>=1?rambox.setUnreadCount(a):rambox.clearUnreadCount()}setInterval(checkUnread,3e3);' + ,js_unread: 'function checkUnread(){var a=document.getElementsByClassName("aim")[0];updateBadge(parseInt(a.textContent.replace(/[^0-9]/g,"")))}function updateBadge(a){a>=1?rambox.setUnreadCount(a):rambox.clearUnreadCount()}setInterval(checkUnread,3e3);' ,note: 'To enable desktop notifications, you have to go to Settings inside Gmail. Read more...' ,dont_update_unread_from_title: true },