From 8a143bacaf3dc980a3a98217ee5c000213f25400 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= <regis@hanol.fr> Date: Mon, 11 Mar 2013 20:58:02 +0100 Subject: [PATCH] fixes the highlight issue @coding-horror reported --- .../javascripts/discourse/views/list/topic_list_item_view.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/discourse/views/list/topic_list_item_view.js b/app/assets/javascripts/discourse/views/list/topic_list_item_view.js index 5b01af455..ae37567fd 100644 --- a/app/assets/javascripts/discourse/views/list/topic_list_item_view.js +++ b/app/assets/javascripts/discourse/views/list/topic_list_item_view.js @@ -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(); } }