1
0
Fork 0
mirror of https://github.com/seejohnrun/haste-server.git synced 2024-11-01 03:21:21 +00:00

remove ^L for saving

This commit is contained in:
John Crepezzi 2011-11-29 20:11:09 -05:00
parent 615fedd6c7
commit 0f02d83d24
2 changed files with 2 additions and 2 deletions

View file

@ -220,7 +220,7 @@ haste.prototype.configureButtons = function() {
label: 'Save', label: 'Save',
shortcutDescription: 'control + s', shortcutDescription: 'control + s',
shortcut: function(evt) { shortcut: function(evt) {
return evt.ctrlKey && (evt.keyCode === 76 || evt.keyCode === 83); return evt.ctrlKey && (evt.keyCode === 83);
}, },
action: function() { action: function() {
if (_this.$textarea.val().replace(/^\s+|\s+$/g, '') !== '') { if (_this.$textarea.val().replace(/^\s+|\s+$/g, '') !== '') {

File diff suppressed because one or more lines are too long