diff options
author | John McLear <john@mclear.co.uk> | 2013-03-14 13:41:49 -0300 |
---|---|---|
committer | John McLear <john@mclear.co.uk> | 2013-03-14 13:41:49 -0300 |
commit | 12107859bb2325c5ba7b7bf0efeaa76682b5edb7 (patch) | |
tree | eb461f6b25f3a5e8ec1f5fee1e67a2630b13ae74 /tests/frontend/specs/bold.js | |
parent | f0dee2d2ceaf7cddf23bc54bce5ed623199cc57e (diff) | |
download | etherpad-lite-12107859bb2325c5ba7b7bf0efeaa76682b5edb7.zip |
fix tests in firefox as firefox fires on keypress not down
Diffstat (limited to 'tests/frontend/specs/bold.js')
-rw-r--r-- | tests/frontend/specs/bold.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/frontend/specs/bold.js b/tests/frontend/specs/bold.js index 2fb6bbfe..010d6901 100644 --- a/tests/frontend/specs/bold.js +++ b/tests/frontend/specs/bold.js @@ -44,7 +44,7 @@ describe("bold button", 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 = 66; // b inner$("#innerdocbody").trigger(e); |