tests: Firefox suport for undo keypress

pull/3885/head
John McLear 2020-03-22 20:13:52 +00:00 committed by muxator
parent d8c4dd7e77
commit f7783e5f2a
1 changed files with 1 additions and 1 deletions

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.