diff --git a/static/js/ace2_inner.js b/static/js/ace2_inner.js index a75f7ae68..2b2d05f2b 100644 --- a/static/js/ace2_inner.js +++ b/static/js/ace2_inner.js @@ -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);