ie now uses keydown

This commit is contained in:
John McLear 2015-01-21 01:16:12 +00:00
parent cb65224997
commit cbeb464358
5 changed files with 5 additions and 6 deletions

View file

@ -47,7 +47,7 @@ describe("undo button then redo button", function(){
var modifiedValue = $firstTextElement.text(); // get the modified value
expect(modifiedValue).not.to.be(originalValue); // expect the value to change
if(inner$(window)[0].bowser.firefox){ // if it's a mozilla browser
if(inner$(window)[0].bowser.firefox || inner$(window)[0].bowser.msie){ // if it's a mozilla or IE
var evtType = "keypress";
}else{
var evtType = "keydown";