From 921fc804470fca37e220b2246e6083943ae7d159 Mon Sep 17 00:00:00 2001 From: Simon Sassi Date: Wed, 2 Jan 2019 14:57:55 +0100 Subject: [PATCH] Unscaped espaced json character xD --- app/store/ServicesList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/store/ServicesList.js b/app/store/ServicesList.js index 08a3e62d..d0f9266d 100644 --- a/app/store/ServicesList.js +++ b/app/store/ServicesList.js @@ -114,7 +114,7 @@ Ext.define('Rambox.store.ServicesList', { ,url: 'https://mail.google.com/mail/' ,type: 'email' ,allow_popups: true - ,js_unread: 'function checkUnread(){var t=document.title.match(/\\(([\\d ]+)\\)/);updateBadge(t?parseInt(t[1].replace(/[^0-9]/, \'\')):0)}function updateBadge(e){1<=e?rambox.setUnreadCount(e):rambox.clearUnreadCount()}setInterval(checkUnread,3e3);' + ,js_unread: 'function checkUnread(){var t=document.title.match(/\(([\d ]+)\)/);updateBadge(t?parseInt(t[1].replace(/[^0-9]/, '')):0)}function updateBadge(e){1<=e?rambox.setUnreadCount(e):rambox.clearUnreadCount()}setInterval(checkUnread,3e3);' ,note: 'To enable desktop notifications, you have to go to Settings inside Gmail. Read more...' }, {