mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-22 05:11:52 +00:00
reset location hash in select menu tests
This commit is contained in:
parent
e2e8d24b79
commit
648be47a07
2 changed files with 8 additions and 3 deletions
|
|
@ -5,10 +5,13 @@
|
|||
(function($){
|
||||
var libName = "jquery.mobile.forms.select.js";
|
||||
|
||||
module(libName);
|
||||
module(libName, {
|
||||
teardown: function(){ location.hash = ""; }
|
||||
});
|
||||
|
||||
|
||||
asyncTest( "custom select menu always renders screen from the left", function(){
|
||||
expect( 2 );
|
||||
expect( 1 );
|
||||
var select = $("ul#select-offscreen-menu");
|
||||
|
||||
$('#select-offscreen-container a').trigger($.support.touch ? "touchend" : "mouseup");
|
||||
|
|
|
|||
|
|
@ -6,7 +6,9 @@
|
|||
var mouseUpTouchEnd = $.support.touch ? "touchend" : "mouseup",
|
||||
libName = "jquery.mobile.forms.select.js";
|
||||
|
||||
module(libName);
|
||||
module(libName, {
|
||||
teardown: function(){ location.hash = ""; }
|
||||
});
|
||||
|
||||
test( "a large select menu should come up in a dialog many times", function(){
|
||||
var menu, select = $("#select-choice-many-container a");
|
||||
|
|
|
|||
Loading…
Reference in a new issue