diff --git a/demos/functional/js/behaviour.functionaldemos.js b/demos/functional/js/behaviour.functionaldemos.js index b7aa37c1c..54988d6ca 100644 --- a/demos/functional/js/behaviour.functionaldemos.js +++ b/demos/functional/js/behaviour.functionaldemos.js @@ -4,6 +4,9 @@ $(document).ready(function() { loadDemo( $(this).attr('href').replace(/^#/, "") ); }); - $.ajaxHistory.initialize(); + var instructions = $("#containerDemo").html(); + $.ajaxHistory.initialize(function() { + $("#containerDemo").html(instructions); + }); }); \ No newline at end of file