aboutsummaryrefslogtreecommitdiffstats
path: root/demos/functional/js
diff options
context:
space:
mode:
Diffstat (limited to 'demos/functional/js')
-rw-r--r--demos/functional/js/behaviour.functionaldemos.js5
1 files changed, 4 insertions, 1 deletions
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