prevent new posts indication in timeline from propagating to modal.

This commit is contained in:
Miguel Freitas 2014-04-14 15:38:21 -03:00
parent 4bc27ced72
commit 028f809de2

View File

@ -94,7 +94,7 @@ var MAL = function()
newTweetsBar.text("Refresh");
}
} else {
var newTweetsBar = $(".postboard-news");
var newTweetsBar = $(".wrapper").find(".postboard-news");
if( newPosts ) {
document.title = "(" + String(newPosts) + ") twister";
newTweetsBar.text(String(newPosts) + " new posts");