Big update to structure and annotation #557

This commit is contained in:
Daniël van Noord
2021-02-20 13:35:31 +01:00
parent bef40336a5
commit 12657df5cf
9 changed files with 670 additions and 491 deletions

View File

@@ -65,7 +65,7 @@ CM.Footer.AddJscolor = function() {
* This functions starts the initizialization and register CookieMonster
* It is called as the last function in this script's execution
*/
if (!CM.isRunning) {
if (typeof CM.Footer.isInitzializing === 'undefined') {
CM.Footer.AddJscolor();
var delay = setInterval(function() {
if (typeof jscolor !== 'undefined') {
@@ -74,6 +74,4 @@ if (!CM.isRunning) {
clearInterval(delay);
}
}, 500);
CM.isRunning = 1;
}
}