mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 00:46:16 -04:00
fix tests in firefox as firefox fires on keypress not down
This commit is contained in:
parent
f0dee2d2ce
commit
12107859bb
4 changed files with 4 additions and 4 deletions
|
@ -44,7 +44,7 @@ describe("italic some text", function(){
|
|||
//select this text element
|
||||
$firstTextElement.sendkeys('{selectall}');
|
||||
|
||||
var e = inner$.Event("keydown");
|
||||
var e = inner$.Event("keypress");
|
||||
e.ctrlKey = true; // Control key
|
||||
e.which = 105; // i
|
||||
inner$("#innerdocbody").trigger(e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue