From d997ff765235e41ae464a489f20ed8fef0296728 Mon Sep 17 00:00:00 2001 From: Aktanusa Date: Sat, 30 Aug 2014 01:43:27 -0400 Subject: [PATCH] Forgot one line to load jscolor.js --- CookieMonster.js | 1 + src/Disp.js | 1 + 2 files changed, 2 insertions(+) diff --git a/CookieMonster.js b/CookieMonster.js index 711a660d..4cc33e87 100644 --- a/CookieMonster.js +++ b/CookieMonster.js @@ -426,6 +426,7 @@ CM.Disp.AddJscolor = function() { CM.Disp.Jscolor = document.createElement('script'); CM.Disp.Jscolor.type = 'text/javascript'; CM.Disp.Jscolor.setAttribute('src', 'http://aktanusa.github.io/CookieMonster/jscolor/jscolor.js'); + document.head.appendChild(CM.Disp.Jscolor); } CM.Disp.CreateCssArea = function() { diff --git a/src/Disp.js b/src/Disp.js index 5320dc75..5c72472d 100644 --- a/src/Disp.js +++ b/src/Disp.js @@ -100,6 +100,7 @@ CM.Disp.AddJscolor = function() { CM.Disp.Jscolor = document.createElement('script'); CM.Disp.Jscolor.type = 'text/javascript'; CM.Disp.Jscolor.setAttribute('src', 'http://aktanusa.github.io/CookieMonster/jscolor/jscolor.js'); + document.head.appendChild(CM.Disp.Jscolor); } CM.Disp.CreateCssArea = function() {