From f9f8b1c0794610f08cb41bd0d06a427719701ed1 Mon Sep 17 00:00:00 2001 From: John McLear Date: Tue, 5 Mar 2013 20:30:31 +0000 Subject: allow chrome to do control z type functionality, not sure why this was never in.. broken when we last updated jQ anyway --- src/static/js/ace2_inner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/js/ace2_inner.js b/src/static/js/ace2_inner.js index ddb614be..f2320926 100644 --- a/src/static/js/ace2_inner.js +++ b/src/static/js/ace2_inner.js @@ -3580,7 +3580,7 @@ function Ace2Inner(){ var specialHandled = false; var isTypeForSpecialKey = ((browser.msie || browser.safari) ? (type == "keydown") : (type == "keypress")); - var isTypeForCmdKey = ((browser.msie || browser.safari) ? (type == "keydown") : (type == "keypress")); + var isTypeForCmdKey = ((browser.msie || browser.safari || browser.chrome) ? (type == "keydown") : (type == "keypress")); var stopped = false; -- cgit v1.2.3