From 50f833def03028fb12c8509e50a7dda428b20491 Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Mon, 18 Feb 2019 11:52:11 +0530 Subject: [PATCH] fix the build JsPrettier on Sublime was failing because: https://github.com/jonlabelle/SublimeJsPrettier/issues/157#issuecomment-458175837 --- .../javascripts/discourse/controllers/move-to-topic.js.es6 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/controllers/move-to-topic.js.es6 b/app/assets/javascripts/discourse/controllers/move-to-topic.js.es6 index 9ca1b990df8..ce56fa15fee 100644 --- a/app/assets/javascripts/discourse/controllers/move-to-topic.js.es6 +++ b/app/assets/javascripts/discourse/controllers/move-to-topic.js.es6 @@ -67,7 +67,10 @@ export default Ember.Controller.extend(ModalFunctionality, { const isPrivateMessage = this.get("model.isPrivateMessage"); if (isPrivateMessage) { - this.set("selection", this.get("canSplitToPM") ? "new_message" : "existing_message"); + this.set( + "selection", + this.get("canSplitToPM") ? "new_message" : "existing_message" + ); } else if (!this.get("canSplitTopic")) { this.set("selection", "existing_topic"); Ember.run.next(() => $("#choose-topic-title").focus());