mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 01:43:40 +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");
|
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());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user