aboutsummaryrefslogtreecommitdiffstats
path: root/demos/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/index.html')
-rw-r--r--demos/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/index.html b/demos/index.html
index 8a0626910..526ab53d7 100644
--- a/demos/index.html
+++ b/demos/index.html
@@ -30,11 +30,11 @@
.find('#demo-config')
.append('<iframe id="demo-frame" name="demo-frame" width="520" height="314" scrolling="auto" frameborder="0" src="'+ section +'/default.html"></iframe><div id="demo-config-menu"></div>')
.find('#demo-config-menu')
- .load(this.href + ' .demos-nav', function(){
- $('#demo-config-menu a').each(function(){
+ .load(this.href + ' .demos-nav', function() {
+ $('#demo-config-menu a').each(function() {
this.setAttribute('href', section + '/' + this.getAttribute('href'));
$(this).attr('target', 'demo-frame');
- $(this).click(function(){
+ $(this).click(function() {
$(this).parents('ul').find('li').removeClass('demo-config-on');
$(this).parent().addClass('demo-config-on');
});