diff options
author | Bohdan Ganicky <bohdan.ganicky@gmail.com> | 2009-01-20 14:44:28 +0000 |
---|---|---|
committer | Bohdan Ganicky <bohdan.ganicky@gmail.com> | 2009-01-20 14:44:28 +0000 |
commit | 274ff534db8e98dd52dfa68a7c2c89ae14683c41 (patch) | |
tree | ba235a7d083bee6a959bf3ac542071794df9c9d7 | |
parent | b6bf540c0d5a3273a71639d219aba6aa632d63ea (diff) | |
download | jquery-ui-274ff534db8e98dd52dfa68a7c2c89ae14683c41.tar.gz jquery-ui-274ff534db8e98dd52dfa68a7c2c89ae14683c41.zip |
demos/index: quick fix for #3810
-rw-r--r-- | demos/index.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/index.html b/demos/index.html index 59246426d..81f3ddd45 100644 --- a/demos/index.html +++ b/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(); }); |