From 8c10c1e41b07ebadf8b3cf67fac88d27ee6c9fdb Mon Sep 17 00:00:00 2001 From: Scott González Date: Wed, 29 Feb 2012 22:09:13 -0500 Subject: 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. --- tests/unit/selectmenu/selectmenu_events.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/unit/selectmenu/selectmenu_events.js') 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); -- cgit v1.2.3