aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2013-10-29 20:54:16 +0100
committerFelix Nagel <info@felixnagel.com>2013-10-29 20:54:16 +0100
commit027d8d4cab27b89d3b1b137fbb8ce81c9fdafc54 (patch)
treebd5821989646ff12953bc12bc92c11767c387bc6 /tests
parentf3e4b24485a34c89ee4032605d853c1b3e0a4e7e (diff)
downloadjquery-ui-027d8d4cab27b89d3b1b137fbb8ce81c9fdafc54.tar.gz
jquery-ui-027d8d4cab27b89d3b1b137fbb8ce81c9fdafc54.zip
Selectmenu: close menu on other element mousedown not on click
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/selectmenu/selectmenu_events.js2
1 files changed, 1 insertions, 1 deletions
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" );
});