Skip to content

Commit

Permalink
Merge branch 'hotfix/3.5.19'
Browse files Browse the repository at this point in the history
  • Loading branch information
arielsvg committed Jan 27, 2021
2 parents 687b532 + 5915d9d commit a3067b7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/assets/javascripts/views/editor/editor-view.pug
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@
ng-model-options='{ debounce: self.state.editorDebounce}',
ng-readonly='self.noteLocked',
ng-trim='false'
autocomplete='off'
)
| {{self.onSystemEditorLoad()}}
panel-resizer(
Expand Down
2 changes: 1 addition & 1 deletion app/assets/javascripts/views/editor/editor_view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,7 @@ class EditorViewCtrl extends PureViewCtrl<{}, EditorState> {
element: editor,
key: KeyboardKey.Tab,
onKeyDown: (event) => {
if (this.note.locked || event.shiftKey) {
if (document.hidden || this.note.locked || event.shiftKey) {
return;
}
event.preventDefault();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "standard-notes-web",
"version": "3.5.17",
"version": "3.5.19",
"license": "AGPL-3.0-or-later",
"repository": {
"type": "git",
Expand Down

0 comments on commit a3067b7

Please sign in to comment.