X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=js%2Fajax-loader.js;h=a910903ddefef92b5301f12132ac19ba79f84c1e;hb=6d9a86d30124a824f1dba5487b0981fc6c96991d;hp=d55db6361cabe295ec3c3cb2bb5df4bf594258da;hpb=e91b46ac59679cee1644aa6eb947b490b0ecd9ef;p=mailer.git diff --git a/js/ajax-loader.js b/js/ajax-loader.js index d55db6361c..a910903dde 100644 --- a/js/ajax-loader.js +++ b/js/ajax-loader.js @@ -1,13 +1,8 @@ /** * JavaScript for loading more JavaScripts with AJAX * -------------------------------------------------------------------- - * $Revision:: $ - * $Date:: $ - * $Tag:: 0.2.1-FINAL $ - * $Author:: $ - * -------------------------------------------------------------------- * Copyright (c) 2003 - 2009 by Roland Haeder - * Copyright (c) 2009 - 2012 by Mailer Developer Team + * Copyright (c) 2009 - 2015 by Mailer Developer Team * For more information visit: http://mxchange.org * * This program is free software; you can redistribute it and/or modify @@ -40,7 +35,7 @@ function loadScriptsLocked () { $.holdReady(false); } else { // Recursive call again - window.setTimeout('loadScriptsLocked()', 10); + window.setTimeout('loadScriptsLocked()', 100); } } @@ -77,6 +72,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)