From 6bac01009b6706c63a63a8b6f63af99fb2f8e60e Mon Sep 17 00:00:00 2001 From: John McLear Date: Thu, 14 Mar 2013 13:52:20 -0300 Subject: [PATCH] missed an evt --- tests/frontend/specs/redo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/frontend/specs/redo.js b/tests/frontend/specs/redo.js index 059e97111..14ec31f62 100644 --- a/tests/frontend/specs/redo.js +++ b/tests/frontend/specs/redo.js @@ -58,7 +58,7 @@ describe("undo button then redo button", function(){ e.which = 90; // z inner$("#innerdocbody").trigger(e); - var e = inner$.Event("keydown"); + var e = inner$.Event(evtType); e.ctrlKey = true; // Control key e.which = 121; // y inner$("#innerdocbody").trigger(e);