remove ^L for saving
This commit is contained in:
parent
615fedd6c7
commit
0f02d83d24
|
@ -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, '') !== '') {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue