This commit is contained in:
Daniel van Noord
2021-01-30 01:10:08 +01:00
parent 0547381845
commit 63139933ce
3 changed files with 4 additions and 6 deletions

View File

@@ -52,18 +52,17 @@ CM.load = function(str) {
* It is called by the last function in the footer
*/
CM.Footer.AddJscolor = function() {
/**
CM.Footer.Jscolor = document.createElement('script');
CM.Footer.Jscolor.type = 'text/javascript';
CM.Footer.Jscolor.setAttribute('src', 'https://aktanusa.github.io/CookieMonster/jscolor/jscolor.js');
document.head.appendChild(CM.Footer.Jscolor);
*/
jscolor.init();
}
/**
* This functions starts the initizialization and register CookieMonster
* It is called as the last function in this script's execution
* TODO: Make this async await
*/
if (!CM.isRunning) {
CM.Footer.AddJscolor();