Skip to content
Permalink
Browse files

demos/index: quick fix for #3810

  • Loading branch information
bganicky committed Jan 20, 2009
1 parent b6bf540 commit 274ff534db8e98dd52dfa68a7c2c89ae14683c41
Showing with 2 additions and 0 deletions.
  1. +2 −0 demos/index.html
@@ -164,7 +164,9 @@
data = data.replace(/<title.*>.*<\/title>/ig,""); // Remove title tags
data = data.replace(/((href|src)=["'])(?!(http|#))/ig, "$1" + directory + "/");
$('#demo-style').remove();
$('#demo-frame').empty().html(data);
$('#demo-frame style').clone().appendTo('head').attr('id','demo-style');
$('#demo-link a').attr('href', path);
updateDemoNotes();
});

0 comments on commit 274ff53

Please sign in to comment.
You can’t perform that action at this time.