]> source.dussan.org Git - jquery-ui.git/commitdiff
demos/index.html: added a check to fix initial load in opera.
authorCa-Phun Ung <pazu2k@gmail.com>
Tue, 30 Dec 2008 20:46:08 +0000 (20:46 +0000)
committerCa-Phun Ung <pazu2k@gmail.com>
Tue, 30 Dec 2008 20:46:08 +0000 (20:46 +0000)
demos/index.html

index cfae779c8918faf4cb2bdd3a0229d39481d4f761..ced365db9f31c9a70ee360655a9108f789e2e122 100644 (file)
                                                                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()