mirror of
https://github.com/seejohnrun/haste-server.git
synced 2024-11-25 05:51:22 +00:00
remove ^L for saving
This commit is contained in:
parent
615fedd6c7
commit
0f02d83d24
2 changed files with 2 additions and 2 deletions
|
@ -220,7 +220,7 @@ haste.prototype.configureButtons = function() {
|
|||
label: 'Save',
|
||||
shortcutDescription: 'control + s',
|
||||
shortcut: function(evt) {
|
||||
return evt.ctrlKey && (evt.keyCode === 76 || evt.keyCode === 83);
|
||||
return evt.ctrlKey && (evt.keyCode === 83);
|
||||
},
|
||||
action: function() {
|
||||
if (_this.$textarea.val().replace(/^\s+|\s+$/g, '') !== '') {
|
||||
|
|
2
static/application.min.js
vendored
2
static/application.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue