Merge pull request #1589 from ether/fix-ctrl-z

allow chrome to do control z type functionality, not sure why this was n...
pull/1593/merge
John McLear 2013-03-05 12:35:03 -08:00
commit fe0272b283
1 changed files with 1 additions and 1 deletions

View File

@ -3580,7 +3580,7 @@ function Ace2Inner(){
var specialHandled = false; var specialHandled = false;
var isTypeForSpecialKey = ((browser.msie || browser.safari) ? (type == "keydown") : (type == "keypress")); 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; var stopped = false;