From 6964e25d72fca83d044543c234fb87ec56e702db Mon Sep 17 00:00:00 2001 From: Stephen Brown II Date: Thu, 8 Mar 2018 17:46:12 -0600 Subject: [PATCH] Update Allo js_unread function Javascript was having trouble getting the display style from a null muted element, so this sets things to variables and checks if it's null first. --- 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 6c0f83c1..c295d3f6 100644 --- a/app/store/ServicesList.js +++ b/app/store/ServicesList.js @@ -825,7 +825,7 @@ Ext.define('Rambox.store.ServicesList', { ,description: 'Google Allo is a smart messaging app that helps you say more and do more. Express yourself better with stickers, doodles, and HUGE emojis & text. Allo also brings you the Google Assistant.' ,url: 'https://allo.google.com/web' ,type: 'messaging' - ,js_unread: 'function checkUnread(){var e=document.querySelectorAll(".hasUnread.conversation_item"),n=0;for(i=0;i=1?rambox.setUnreadCount(e):rambox.clearUnreadCount()}setInterval(checkUnread,3e3);' + ,js_unread: 'function checkUnread(){var e=document.querySelectorAll(".hasUnread.conversation_item"),n=0;for(i=0;i=1?rambox.setUnreadCount(e):rambox.clearUnreadCount()}setInterval(checkUnread,3e3);' ,dont_update_unread_from_title: true }, {