diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-02-29 22:09:13 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-02-29 22:09:13 -0500 |
commit | 8c10c1e41b07ebadf8b3cf67fac88d27ee6c9fdb (patch) | |
tree | dc02c3aeb8c30697b32af0313dfa59f8aaa0dd67 /tests/unit/selectmenu/selectmenu_events.js | |
parent | 72c17f061430c0c7ff94f39e0d70ef07f7b7237b (diff) | |
download | jquery-ui-8c10c1e41b07ebadf8b3cf67fac88d27ee6c9fdb.tar.gz jquery-ui-8c10c1e41b07ebadf8b3cf67fac88d27ee6c9fdb.zip |
Revert "Selectmenu: added a temp fix for Safari to make unit test work, see https://github.com/jquery/jquery-ui/pull/492#issuecomment-4214604"
This reverts commit 72c17f061430c0c7ff94f39e0d70ef07f7b7237b.
Diffstat (limited to 'tests/unit/selectmenu/selectmenu_events.js')
-rw-r--r-- | tests/unit/selectmenu/selectmenu_events.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/unit/selectmenu/selectmenu_events.js b/tests/unit/selectmenu/selectmenu_events.js index 805beaf93..9e8629f5b 100644 --- a/tests/unit/selectmenu/selectmenu_events.js +++ b/tests/unit/selectmenu/selectmenu_events.js @@ -23,8 +23,8 @@ test("change", function () { menu = this.element.selectmenu("menuWidget").parent(), value = this.element.find("option").first().text(); - button.find("a").simulate( "focus" ).simulate( "click", { clientX: 1, clientY: 1 } ); - menu.find("a").first().simulate( "mouseover", { clientX: 1, clientY: 1 } ).trigger( "click" ); + button.find("a").simulate( "focus" ).simulate( "click" ); + menu.find("a").first().simulate( "mouseover" ).trigger( "click" ); }); @@ -63,8 +63,8 @@ test("focus", function () { var button = this.element.selectmenu("widget").parent(), menu = this.element.selectmenu("menuWidget").parent(); - button.find("a").simulate( "focus" ).simulate( "click", { clientX: 1, clientY: 1 } ); - menu.find(".ui-menu-item").simulate("mouseover", { clientX: 1, clientY: 1 }); + button.find("a").simulate( "focus" ).simulate( "click" ); + menu.find(".ui-menu-item").simulate("mouseover"); }); @@ -98,8 +98,8 @@ test("select", function () { var button = this.element.selectmenu("widget").parent(), menu = this.element.selectmenu("menuWidget").parent(); - button.find("a").simulate( "focus" ).simulate( "click", { clientX: 1, clientY: 1 } ); - menu.find("a").first().simulate( "mouseover", { clientX: 1, clientY: 1 } ).trigger("click"); + button.find("a").simulate( "focus" ).simulate( "click" ); + menu.find("a").first().simulate( "mouseover" ).trigger("click"); }); })(jQuery); |