fix the build

JsPrettier on Sublime was failing because: https://github.com/jonlabelle/SublimeJsPrettier/issues/157#issuecomment-458175837
This commit is contained in:
Arpit Jalan 2019-02-18 11:52:11 +05:30
parent dc2776bcdd
commit 50f833def0

View File

@ -67,7 +67,10 @@ export default Ember.Controller.extend(ModalFunctionality, {
const isPrivateMessage = this.get("model.isPrivateMessage"); const isPrivateMessage = this.get("model.isPrivateMessage");
if (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")) { } else if (!this.get("canSplitTopic")) {
this.set("selection", "existing_topic"); this.set("selection", "existing_topic");
Ember.run.next(() => $("#choose-topic-title").focus()); Ember.run.next(() => $("#choose-topic-title").focus());