Focus editor on new note
This commit is contained in:
11
dist/javascripts/app.js
vendored
11
dist/javascripts/app.js
vendored
@@ -527,8 +527,8 @@ function (_PureCtrl) {
|
||||
this.reloadTagsString();
|
||||
this.loadPreferences();
|
||||
|
||||
if (note.safeText().length === 0 && note.dummy) {
|
||||
this.focusTitle(100);
|
||||
if (note.dummy) {
|
||||
this.focusEditor();
|
||||
}
|
||||
|
||||
if (previousNote && previousNote !== note) {
|
||||
@@ -1138,13 +1138,6 @@ function (_PureCtrl) {
|
||||
dontUpdatePreviews: true
|
||||
});
|
||||
}
|
||||
}, {
|
||||
key: "clickedEditNote",
|
||||
value: function clickedEditNote() {
|
||||
this.focusEditor({
|
||||
delay: 100
|
||||
});
|
||||
}
|
||||
}, {
|
||||
key: "reloadTagsString",
|
||||
value: function reloadTagsString() {
|
||||
|
||||
2
dist/javascripts/app.js.map
vendored
2
dist/javascripts/app.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user