Skip to content
Permalink
Browse files

Potential fix for #1385

Needs testing.
  • Loading branch information...
philwareham committed Feb 13, 2019
1 parent 98cff8f commit b8d55ca2ecf4ea7883cdc18fdb4f7542f03a40ae
Showing with 1 addition and 1 deletion.
  1. +1 −1 textpattern/textpattern.js
@@ -1553,7 +1553,7 @@ $(document).keydown(function (e) {

if (key === 27) {
$('.close').parent().toggle();
} else if (key === 19 || ((e.metaKey || e.ctrlKey) && String.fromCharCode(key).toLowerCase() === 's'))
} else if (key === 19 || ((e.metaKey || e.ctrlKey) && !(e.altKey) && String.fromCharCode(key).toLowerCase() === 's'))
{
var obj = $('input.publish');

0 comments on commit b8d55ca

Please sign in to comment.
You can’t perform that action at this time.