mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
now IE friendly
This commit is contained in:
parent
6bac01009b
commit
1462d8e80c
5 changed files with 15 additions and 15 deletions
|
@ -47,10 +47,10 @@ describe("undo button then redo button", function(){
|
|||
var modifiedValue = $firstTextElement.text(); // get the modified value
|
||||
expect(modifiedValue).not.to.be(originalValue); // expect the value to change
|
||||
|
||||
if(!inner$.browser.chrome){
|
||||
var evtType = "keypress";
|
||||
}else{
|
||||
if(!inner$.browser.firefox){
|
||||
var evtType = "keydown";
|
||||
}else{
|
||||
var evtType = "keypress";
|
||||
}
|
||||
|
||||
var e = inner$.Event(evtType);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue