fix tests in FF

This commit is contained in:
John McLear 2014-11-27 23:48:14 +00:00
parent d36911da30
commit 936e92e044
7 changed files with 9 additions and 7 deletions

View file

@ -297,7 +297,7 @@ function prepareDocument(n, target){ // generates a random document with random
}
function keyEvent(target, charCode, ctrl, shift){ // sends a charCode to the window
if(inner$(window)[0].bowser.mozilla){ // if it's a mozilla browser
if(inner$(window)[0].bowser.firefox){ // if it's a mozilla browser
var evtType = "keypress";
}else{
var evtType = "keydown";