Browse Source

Update ServicesList.js

Fix #2325
delete-partition-folder
Juan Manuel Gonzalez Alama 6 years ago
parent
commit
516fa1c1b7
  1. 2
      app/store/ServicesList.js

2
app/store/ServicesList.js

@ -487,7 +487,7 @@ Ext.define('Rambox.store.ServicesList', {
,description: 'Ryver is a team communication tool that organizes team collaboration, chats, files, and even emails into a single location, for any size team, for FREE.'
,url: 'https://___.ryver.com/'
,type: 'messaging'
,js_unread: 'function checkUnread(){updateBadge(parseInt(document.getElementsByClassName("scene-space-tab-button__badge-icon").length))}function updateBadge(a){a>=1?rambox.setUnreadCount(a):rambox.clearUnreadCount()}setInterval(checkUnread,3e3);'
,js_unread: 'function checkUnread(){const elements = document.querySelectorAll(".scene-space-tab-button__badge-icon");let count = 0;for (let i = 0; i < elements.length; i++) {if (elements[i].offsetParent !== null) {count++;}}updateBadge(count);}function updateBadge(count){if(count && count>=1){rambox.setUnreadCount(count);}else{rambox.clearUnreadCount();}}setInterval(checkUnread, 3e3);'
},
{
id: 'kiwi'

Loading…
Cancel
Save