functional demos: show instructions when navigating back to no-hash

This commit is contained in:
Jörn Zaefferer 2008-12-20 10:54:00 +00:00
parent de2bf2da55
commit 2c4cd69440

View File

@ -4,6 +4,9 @@ $(document).ready(function() {
loadDemo( $(this).attr('href').replace(/^#/, "") );
});
$.ajaxHistory.initialize();
var instructions = $("#containerDemo").html();
$.ajaxHistory.initialize(function() {
$("#containerDemo").html(instructions);
});
});