Merge pull request #426 from ZogStriP/fix-highlight-issue

fixes the highlight issue @coding-horror reported
This commit is contained in:
Jeff Atwood 2013-03-11 13:14:38 -07:00
commit 2115c36c84
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ Discourse.TopicListItemView = Discourse.View.extend({
}
// highlight new topics that have been loaded from the server or the one we just created
else if (this.get('content.highlight')) {
this.set('content.highlight', false);
this.highlight();
}
}