mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
fix tests in FF
This commit is contained in:
parent
d36911da30
commit
936e92e044
7 changed files with 9 additions and 7 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.mozilla){ // if it's a mozilla browser
|
||||
if(inner$(window)[0].bowser.firefox){ // if it's a mozilla browser
|
||||
var evtType = "keypress";
|
||||
}else{
|
||||
var evtType = "keydown";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue