From e1d550305316d5120738a9238e0c4c389c169041 Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Mon, 26 Oct 2015 23:14:14 +0530 Subject: [PATCH] FIX: flag button was broken for posts --- app/assets/javascripts/discourse/routes/topic.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/routes/topic.js.es6 b/app/assets/javascripts/discourse/routes/topic.js.es6 index 8bfdf13d5b5..976de121666 100644 --- a/app/assets/javascripts/discourse/routes/topic.js.es6 +++ b/app/assets/javascripts/discourse/routes/topic.js.es6 @@ -43,7 +43,7 @@ const TopicRoute = Discourse.Route.extend({ showFlags(model) { showModal('flag', { model }); - this.controllerFor('flag').setProperties({ selected: null }); + this.controllerFor('flag').setProperties({ selected: null, flagTopic: false }); }, showFlagTopic(model) {