Remove alt key from Z to stop Polish people feeling sad

This commit is contained in:
John McLear 2012-01-17 16:50:35 +00:00
parent 8f887262b0
commit 9f0ca7cc44
1 changed files with 1 additions and 1 deletions

View File

@ -3867,7 +3867,7 @@ function OUTER(gscope)
//scrollSelectionIntoView();
specialHandled = true;
}
if ((!specialHandled) && isTypeForCmdKey && String.fromCharCode(which).toLowerCase() == "z" && (evt.metaKey || evt.ctrlKey))
if ((!specialHandled) && isTypeForCmdKey && String.fromCharCode(which).toLowerCase() == "z" && (evt.metaKey || evt.ctrlKey) && !evt.altKey)
{
// cmd-Z (undo)
fastIncorp(6);