Skip to content

Commit

Permalink
Update ctrl+s, meta+s keybindings for newer version of plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
bobdenotter committed Mar 7, 2018
1 parent 60fe83c commit c0c0e39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/js/modules/editcontent.js
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@
function initKeyboardShortcuts() {
if ($('#content_edit_save').is('*')) {
// Bind ctrl-s and meta-s for saving..
$('body, input').bind('keydown.ctrl_s keydown.meta_s', function (event) {
$('body, input').bind('keydown', 'ctrl+s meta+s', function (event) {
event.preventDefault();
watchChanges();
$('#content_edit_save').trigger('click');
Expand Down

0 comments on commit c0c0e39

Please sign in to comment.