diff options
| author | Hunternif | 2019-04-16 09:00:19 +0700 |
|---|---|---|
| committer | Hunternif | 2019-04-16 09:00:19 +0700 |
| commit | a37ce857f7a489ce2105e476999773946c744d25 (patch) | |
| tree | aafdeddb6214419bd7865ffe245f601830c8b96d /client/js/views/post_main_view.js | |
| parent | 14b85fc3064feb7c5e5996c2025c785b3a7a1551 (diff) | |
Ctrl+s works even when focusing tag input
Diffstat (limited to 'client/js/views/post_main_view.js')
| -rw-r--r-- | client/js/views/post_main_view.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/client/js/views/post_main_view.js b/client/js/views/post_main_view.js index e137bc7..71a7900 100644 --- a/client/js/views/post_main_view.js +++ b/client/js/views/post_main_view.js @@ -87,17 +87,6 @@ class PostMainView { this.sidebarControl._evtDeleteClick(e); } }); - keyboard.bind('t', (e) => { - if (ctx.editMode) { - e.preventDefault(); - this.sidebarControl.focusTagInput(); - } - }); - keyboard.bind(['command+s', 'ctrl+s'], (e) => { - if (ctx.editMode) { - this.sidebarControl.submit(e); - } - }); new Touch( postContainerNode, |