now IE friendly

This commit is contained in:
John McLear 2013-03-14 14:22:58 -03:00
parent 6bac01009b
commit 1462d8e80c
5 changed files with 15 additions and 15 deletions

View file

@ -47,10 +47,10 @@ 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$.browser.chrome){
var evtType = "keypress";
}else{
if(!inner$.browser.firefox){
var evtType = "keydown";
}else{
var evtType = "keypress";
}
var e = inner$.Event(evtType);