r1366 - trunk/demos

r1366 - trunk/demos


Author: pazu2k@gmail.com
Date: Tue Dec 30 12:46:08 2008
New Revision: 1366
Modified:
trunk/demos/index.html
Log:
demos/index.html: added a check to fix initial load in opera.
Modified: trunk/demos/index.html
==============================================================================
--- trunk/demos/index.html    (original)
+++ trunk/demos/index.html    Tue Dec 30 12:46:08 2008
@@ -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()