mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-10-29 15:21:23 +01:00
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
|
var modifiedValue = $firstTextElement.text(); // get the modified value
|
||||||
expect(modifiedValue).not.to.be(originalValue); // expect the value to change
|
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";
|
var evtType = "keypress";
|
||||||
}else{
|
}else{
|
||||||
var evtType = "keydown";
|
var evtType = "keydown";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user