mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 23:06:57 +08:00
fix the build
JsPrettier on Sublime was failing because: https://github.com/jonlabelle/SublimeJsPrettier/issues/157#issuecomment-458175837
This commit is contained in:
parent
dc2776bcdd
commit
50f833def0
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue
Block a user