aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/selectmenu/selectmenu_events.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2012-01-22 15:44:23 +0100
committerFelix Nagel <info@felixnagel.com>2012-01-22 15:44:23 +0100
commit50c308339c44f17b3a5c9dbc0e759f8b55a1297a (patch)
treeaa4c61178cce985418ed47a61eeef22415997da3 /tests/unit/selectmenu/selectmenu_events.js
parent759e47a6573595dd75b426126448132b50a86aa9 (diff)
downloadjquery-ui-50c308339c44f17b3a5c9dbc0e759f8b55a1297a.tar.gz
jquery-ui-50c308339c44f17b3a5c9dbc0e759f8b55a1297a.zip
Selectmenu: fixed unit tests in IE
Diffstat (limited to 'tests/unit/selectmenu/selectmenu_events.js')
-rw-r--r--tests/unit/selectmenu/selectmenu_events.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/selectmenu/selectmenu_events.js b/tests/unit/selectmenu/selectmenu_events.js
index 4aad80c42..92dc6f01a 100644
--- a/tests/unit/selectmenu/selectmenu_events.js
+++ b/tests/unit/selectmenu/selectmenu_events.js
@@ -25,7 +25,7 @@ test("change", function () {
value = this.element.find("option").first().text();
button.find("a").simulate( "click" );
- menu.find("a").first().simulate( "mouseover" ).simulate( "click" );
+ menu.find("a").first().simulate( "mouseover" ).trigger( "click" );
});
@@ -102,7 +102,7 @@ test("select", function () {
menu = widget.filter(".ui-selectmenu-menu");
button.find("a").simulate( "click" );
- menu.find("a").first().simulate( "mouseover" ).simulate("click");
+ menu.find("a").first().simulate( "mouseover" ).trigger("click");
});
})(jQuery);