mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
fix for #2132
This commit is contained in:
parent
b4ddeffd04
commit
e51ab2db24
1 changed files with 1 additions and 1 deletions
|
@ -3700,7 +3700,7 @@ function Ace2Inner(){
|
||||||
}, 0);
|
}, 0);
|
||||||
specialHandled = true;
|
specialHandled = true;
|
||||||
}
|
}
|
||||||
if ((!specialHandled) && isTypeForCmdKey && String.fromCharCode(which).toLowerCase() == "s" && (evt.metaKey || evt.ctrlKey)) /* Do a saved revision on ctrl S */
|
if ((!specialHandled) && isTypeForCmdKey && String.fromCharCode(which).toLowerCase() == "s" && (evt.metaKey || evt.ctrlKey) && !evt.altKey) /* Do a saved revision on ctrl S */
|
||||||
{
|
{
|
||||||
evt.preventDefault();
|
evt.preventDefault();
|
||||||
var originalBackground = parent.parent.$('#revisionlink').css("background")
|
var originalBackground = parent.parent.$('#revisionlink').css("background")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue