aboutsummaryrefslogtreecommitdiffstats
path: root/demos/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/index.html')
-rw-r--r--demos/index.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/index.html b/demos/index.html
index 7340a7077..4a7d93fcd 100644
--- a/demos/index.html
+++ b/demos/index.html
@@ -75,6 +75,8 @@
$('.left-nav a').click(function(ev) {
window.location.hash = this.href.replace(/.+\/([^\/]+)\/index\.html/,'$1') + '|default';
loadPage(this.href);
+ $('.left-nav a.selected').removeClass('selected');
+ $(this).addClass('selected');
ev.preventDefault();
});