Browse Source

Merge pull request #1254 from JakobStruye/fastmail-improvements

FastMail improvements
pull/1216/merge
Ramiro Saenz 7 years ago committed by GitHub
parent
commit
d91bad3623
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      app/store/ServicesList.js

3
app/store/ServicesList.js

@ -750,7 +750,8 @@ Ext.define('Rambox.store.ServicesList', {
,description: 'Secure, reliable email hosting for businesses, families and professionals. Premium email with no ads, excellent spam protection and rapid personal support.' ,description: 'Secure, reliable email hosting for businesses, families and professionals. Premium email with no ads, excellent spam protection and rapid personal support.'
,url: 'https://www.fastmail.com/mail/' ,url: 'https://www.fastmail.com/mail/'
,type: 'mail' ,type: 'mail'
,js_unread: 'setTimeout(function(){O.WindowController.openExternal=function(a){var b=document.createElement("a");b.href=a,b.setAttribute("target","_blank"),b.click()};},3000);' ,js_unread: 'function checkUnread(){var e=document.getElementsByClassName("v-FolderSource-badge"),t=0;for(i=0;i<e.length;i++)t+=isNaN(parseInt(e[i].innerHTML.trim())) ? 0 : parseInt(e[i].innerHTML.trim());updateBadge(t)}function updateBadge(e){e>=1?document.title="("+e+")"+originalTitle:document.title=originalTitle}var originalTitle=document.title;setInterval(checkUnread,3000);setTimeout(function(){O.WindowController.openExternal=function(a){var b=document.createElement("a");b.href=a,b.setAttribute("target","_blank"),b.click()};},3000);'
,note: 'To enable desktop notifications, you have to go to Settings inside FastMail.'
}, },
{ {
id: 'hibox' id: 'hibox'

Loading…
Cancel
Save