fix undo test
This commit is contained in:
parent
24188d7007
commit
29c0d790b5
|
@ -44,7 +44,7 @@ describe("undo button", function(){
|
|||
var modifiedValue = $firstTextElement.text(); // get the modified value
|
||||
expect(modifiedValue).not.to.be(originalValue); // expect the value to change
|
||||
|
||||
if(!inner$.browser.firefox){
|
||||
if(inner$.browser.mozilla){ // if it's a mozilla browser
|
||||
var evtType = "keypress";
|
||||
}else{
|
||||
var evtType = "keydown";
|
||||
|
|
Loading…
Reference in New Issue