src/myams/resources/js/myams-require.js
changeset 39 fed67f169e1c
parent 36 f090c62de817
child 43 84a34175f37c
--- a/src/myams/resources/js/myams-require.js	Wed Jan 27 14:53:41 2021 +0100
+++ b/src/myams/resources/js/myams-require.js	Wed Jan 27 14:55:34 2021 +0100
@@ -2,7 +2,7 @@
  * MyAMS
  * « My Application Management Skin »
  *
- * Version: 0.1.47 (rev. 1)
+ * Version: 0.1.48 (rev. 1)
  * A bootstrap based application/administration skin
  *
  * Custom administration and application skin tools
@@ -449,8 +449,8 @@
 				var styleInterval = setInterval(function () {
 					try {
 						var _check = style[0].sheet.cssRules;  // Is only populated when file is loaded
+						clearInterval(styleInterval);
 						callback.call(window, true, options);
-						clearInterval(styleInterval);
 					} catch (e) {
 						// CSS is not loaded yet...
 					}