From 47e08c211a3f36d564b7683d60da3e07e0e6f22d Mon Sep 17 00:00:00 2001 From: Ca-Phun Ung Date: Tue, 30 Dec 2008 20:46:08 +0000 Subject: demos/index.html: added a check to fix initial load in opera. --- demos/index.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'demos') diff --git a/demos/index.html b/demos/index.html index cfae779c8..ced365db9 100644 --- a/demos/index.html +++ b/demos/index.html @@ -47,9 +47,13 @@ if ($('#demo-notes').length == 0) { $('
').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() -- cgit v1.2.3