mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
tests: Firefox suport for undo keypress
This commit is contained in:
parent
d8c4dd7e77
commit
f7783e5f2a
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue