mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-05 21:24:45 +00:00
16 lines
No EOL
377 B
JavaScript
16 lines
No EOL
377 B
JavaScript
(function($) {
|
|
asyncTest( "dialog ui-state should be part of the hash", function(){
|
|
$.testHelper.sequence([
|
|
function() {
|
|
// open the test page
|
|
$.mobile.activePage.find( "a" ).click();
|
|
},
|
|
|
|
function() {
|
|
// verify that the hash contains the dialogHashKey
|
|
ok( location.hash.search($.mobile.dialogHashKey) >= 0 );
|
|
start();
|
|
}
|
|
]);
|
|
});
|
|
})(jQuery); |