mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-14 18:26:26 +00:00
refactor hotkeys
This commit is contained in:
@@ -86,6 +86,7 @@ var SnippetForm = React.createClass({
|
||||
handleKeyDown: function (e) {
|
||||
if (e.keyCode === 13 && e.metaKey) {
|
||||
this.submit()
|
||||
e.stopPropagation()
|
||||
}
|
||||
},
|
||||
render: function () {
|
||||
|
||||
Reference in New Issue
Block a user