mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 17:06:16 -04:00
[fix] Fix shortcut enabling flag for 'ESC'
This is an adjustment to #2891.
This commit is contained in:
parent
688e8f37a3
commit
97038c2183
3 changed files with 3 additions and 1 deletions
|
@ -111,6 +111,7 @@ exports.padShortcutEnabled = {
|
|||
"delete" : true,
|
||||
"cmdShift2" : true,
|
||||
"return" : true,
|
||||
"esc" : true,
|
||||
"cmdS" : true,
|
||||
"tab" : true,
|
||||
"cmdZ" : true,
|
||||
|
|
|
@ -3847,7 +3847,7 @@ function Ace2Inner(){
|
|||
}, 0);
|
||||
specialHandled = true;
|
||||
}
|
||||
if ((!specialHandled) && isTypeForSpecialKey && keyCode == 27 && padShortcutEnabled.cmdS)
|
||||
if ((!specialHandled) && isTypeForSpecialKey && keyCode == 27 && padShortcutEnabled.esc)
|
||||
{
|
||||
// prevent esc key;
|
||||
// in mozilla versions 14-19 avoid reconnecting pad.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue