mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
functional demos: show instructions when navigating back to no-hash
This commit is contained in:
parent
de2bf2da55
commit
2c4cd69440
@ -4,6 +4,9 @@ $(document).ready(function() {
|
|||||||
loadDemo( $(this).attr('href').replace(/^#/, "") );
|
loadDemo( $(this).attr('href').replace(/^#/, "") );
|
||||||
});
|
});
|
||||||
|
|
||||||
$.ajaxHistory.initialize();
|
var instructions = $("#containerDemo").html();
|
||||||
|
$.ajaxHistory.initialize(function() {
|
||||||
|
$("#containerDemo").html(instructions);
|
||||||
|
});
|
||||||
|
|
||||||
});
|
});
|
Loading…
Reference in New Issue
Block a user