]> git.mxchange.org Git - mailer.git/blobdiff - js/ajax-loader.js
Also had to fix this to make 'month, numeric' selection working
[mailer.git] / js / ajax-loader.js
index 7832668c9d6db2da105d7576d4019196b63ef24e..424b5f7d1a7a2690be4ac73aacda334e4d0d4708 100644 (file)
@@ -1,4 +1,4 @@
-/*
+/**
  * JavaScript for loading more JavaScripts with AJAX
  * --------------------------------------------------------------------
  * $Revision::                                                        $
@@ -40,7 +40,7 @@ function loadScriptsLocked () {
                $.holdReady(false);
        } else {
                // Recursive call again
-               window.setTimeout('loadScriptsLocked()', 10);
+               window.setTimeout('loadScriptsLocked()', 100);
        }
 }
 
@@ -77,6 +77,9 @@ function loadScripts (resources) {
                        // Count it as loaded
                        resourceCounter++;
                });
+
+               // Wait here a little
+               $('body').delay(100);
        } // END - for
 
        // Wait until all scripts are loaded (asynchronously)