mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-06-16 11:14:48 -04:00
fix tests in FF
This commit is contained in:
parent
d36911da30
commit
936e92e044
7 changed files with 9 additions and 7 deletions
|
@ -297,7 +297,7 @@ function prepareDocument(n, target){ // generates a random document with random
|
|||
}
|
||||
|
||||
function keyEvent(target, charCode, ctrl, shift){ // sends a charCode to the window
|
||||
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