Clean up
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user