[bknr-cvs] hans changed trunk/projects/quickhoney/website/static/javascript.js

BKNR Commits bknr at bknr.net
Thu Sep 11 05:12:53 UTC 2008


Revision: 3888
Author: hans
URL: http://bknr.net/trac/changeset/3888

Fix for Opera

U   trunk/projects/quickhoney/website/static/javascript.js

Modified: trunk/projects/quickhoney/website/static/javascript.js
===================================================================
--- trunk/projects/quickhoney/website/static/javascript.js	2008-09-10 20:23:30 UTC (rev 3887)
+++ trunk/projects/quickhoney/website/static/javascript.js	2008-09-11 05:12:53 UTC (rev 3888)
@@ -880,7 +880,7 @@
             }
         }, getElementsByTagAndClassName('img', null));
 
-    if (waiting == 0) {
+    if (waiting == 0 || window.opera) {
         hide_cue();
         callback();
     } else {
@@ -1137,6 +1137,7 @@
 }
 
 function init_applicaton() {
+    log('init_applicaton');
     if (navigator.userAgent.indexOf("Safari") != -1) {
 	safari = true;
 	safari_compatibility_hack();
@@ -1157,13 +1158,16 @@
     poll_path();
 
     application_initialized = true;
+    log('init_applicaton done');
 }
 
 function button_images_loaded() {
+    log('button_images_loaded');
     wait_for_images(init_applicaton);
 }
 
 function init() {
+    log('init');
     show_cue();
 
     load_button_images(button_images_loaded);




More information about the Bknr-cvs mailing list