Merge pull request #231 from dblugeon/issue-222

close #222
This commit is contained in:
Jeena Paradies 2013-09-09 12:47:59 -07:00
commit 1232994822

View file

@ -173,6 +173,10 @@ function(HostApp, APICalls) {
var img = this.menu[part].getElementsByTagName("img")[0];
if (img.src.endsWith(img.src_active)) {
var next = parts[(i+1)%parts.length];
//we must update unread badges for mentions cf https://github.com/jeena/Bungloo/issues/222
if(next === "mentions"){
bungloo.mentions.setAllMentionsRead();
}
this.showContentFor(bungloo[next], this.menu[next]);
return;
}