Permalink
Browse files

remove useless dependency on jQuery

  • Loading branch information...
1 parent 0c73a27 commit 4266d220842673fb334c714955a9f71dd57e70be @Lazza Lazza committed on GitHub Sep 14, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 glip/webview.js
View
@@ -1,6 +1,6 @@
module.exports = (Franz, options) => {
function getMessages() {
- const count = parseInt($("title").text().split('(')[1]) || 0;
+ const count = parseInt(document.title.split('(')[1]) || 0;
Franz.setBadge(count);
}

0 comments on commit 4266d22

Please sign in to comment.