demos/index.html: added a check to fix initial load in opera.

This commit is contained in:
Ca-Phun Ung 2008-12-30 20:46:08 +00:00
parent 04069424ce
commit 47e08c211a

View File

@ -47,9 +47,13 @@
if ($('#demo-notes').length == 0) {
$('<div id="demo-notes"></div>').insertAfter('#demo-config');
}
$('#demo-notes').hide().empty().html(notes.html()).fadeIn();
$('#demo-notes').hide().empty().html(notes.html());
$('#demo-notes').fadeIn();
notes.hide();
});
});
if ($('#demo-frame .demo-description:visible'))
$('#demo-frame').trigger('load');
})
.end()
.end()