Skip to content

Commit

Permalink
Merge pull request #7364 from bolt/hotfix/proper-keybinding
Browse files Browse the repository at this point in the history
[3.5] Update ctrl+s, meta+s keybindings for newer version of plugin
  • Loading branch information
GwendolenLynch committed Mar 7, 2018
2 parents 60fe83c + c0c0e39 commit d4d8cb1
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 d4d8cb1

Please sign in to comment.