Skip to content

Commit eb772df

Browse files
committed
click the first item link in the dialog and not all the items in the dialog
1 parent 0774d6b commit eb772df

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/unit/select/select_core.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666

6767
function(){
6868
ok(location.hash.indexOf(dialogHashKey) > -1);
69-
$(".ui-page-active li").trigger("click");
69+
$(".ui-page-active li:first a").trigger("click");
7070
},
7171

7272
function(){
@@ -76,7 +76,7 @@
7676
]);
7777
});
7878

79-
asyncTest( "dialog sized select menu opened many times remains a dialog", function(){
79+
asyncTest( "dialog sized select menu opened many times remains a dialog", function(){
8080
var dialogHashKey = "ui-state=dialog",
8181

8282
openDialogSequence = [
@@ -123,5 +123,4 @@
123123
], 500);
124124

125125
});
126-
127126
})(jQuery);

0 commit comments

Comments
 (0)