tests: Firefox suport for undo keypress

This commit is contained in:
John McLear 2020-03-22 20:13:52 +00:00 committed by muxator
parent d8c4dd7e77
commit f7783e5f2a

View file

@ -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$(window)[0].bowser.firefox || inner$(window)[0].bowser.modernIE){ // if it's IE
if(inner$(window)[0].bowser.modernIE){ // if it's IE
var evtType = "keypress";
}else{
// Edge also requires keypress.