Browse Source

Merge pull request #1559 from a2nt/patch-2

Use m.vk.com cuz it fits small window size
pull/1617/head
Ramiro Saenz 7 years ago committed by GitHub
parent
commit
84de33fc1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/store/ServicesList.js

2
app/store/ServicesList.js

@ -776,7 +776,7 @@ Ext.define('Rambox.store.ServicesList', {
,logo: 'vk.png' ,logo: 'vk.png'
,name: 'VK Messenger' ,name: 'VK Messenger'
,description: 'Simple and Easy App for Messaging on VK.' ,description: 'Simple and Easy App for Messaging on VK.'
,url: 'https://vk.com/im' ,url: 'https://m.vk.com/im'
,type: 'messaging' ,type: 'messaging'
,js_unread: 'function checkUnread(){updateBadge(parseInt(document.getElementById("l_msg").innerText.replace(/\D+/g,"")))}function updateBadge(e){e>=1?document.title="("+e+") "+originalTitle:document.title=originalTitle}var originalTitle=document.title;setInterval(checkUnread,3000);' ,js_unread: 'function checkUnread(){updateBadge(parseInt(document.getElementById("l_msg").innerText.replace(/\D+/g,"")))}function updateBadge(e){e>=1?document.title="("+e+") "+originalTitle:document.title=originalTitle}var originalTitle=document.title;setInterval(checkUnread,3000);'
}, },

Loading…
Cancel
Save