From 027d8d4cab27b89d3b1b137fbb8ce81c9fdafc54 Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Tue, 29 Oct 2013 20:54:16 +0100 Subject: Selectmenu: close menu on other element mousedown not on click --- tests/unit/selectmenu/selectmenu_events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/unit/selectmenu/selectmenu_events.js b/tests/unit/selectmenu/selectmenu_events.js index 182c0cd1b..2c10b4c87 100644 --- a/tests/unit/selectmenu/selectmenu_events.js +++ b/tests/unit/selectmenu/selectmenu_events.js @@ -49,7 +49,7 @@ test( "close", function () { this.element.selectmenu( "open" ).selectmenu( "close" ); this.element.selectmenu( "open" ); - $( "body" ).trigger( "click" ); + $( "body" ).trigger( "mousedown" ); }); -- cgit v1.2.3