Skip to content

Commit

Permalink
unseen, not unread, to be consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Jun 5, 2014
1 parent fbae50d commit 4dfbcb2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions imp/js/dimpbase.js
Expand Up @@ -314,20 +314,20 @@ var DimpBase = {
}
},

setTitle: function(title, unread)
setTitle: function(title, unseen)
{
var opts = {};

document.title = DimpCore.conf.name + ' :: ' + title;

if (unread > 99 & unread < 1000) {
if (unseen > 99 & unseen < 1000) {
opts.font = '8px Arial';
opts.offset = 1;
opts.width = 1;
}

Tinycon.setOptions(opts);
Tinycon.setBubble(unread);
Tinycon.setBubble(unseen);
},

// id: (string) Either the ID of a sidebar element, or the name of a
Expand Down

0 comments on commit 4dfbcb2

Please sign in to comment.