Skip to content

Commit d997ff7

Browse files
committed
Forgot one line to load jscolor.js
1 parent 3ddd1b3 commit d997ff7

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

CookieMonster.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ CM.Disp.AddJscolor = function() {
426426
CM.Disp.Jscolor = document.createElement('script');
427427
CM.Disp.Jscolor.type = 'text/javascript';
428428
CM.Disp.Jscolor.setAttribute('src', 'http://aktanusa.github.io/CookieMonster/jscolor/jscolor.js');
429+
document.head.appendChild(CM.Disp.Jscolor);
429430
}
430431

431432
CM.Disp.CreateCssArea = function() {

src/Disp.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ CM.Disp.AddJscolor = function() {
100100
CM.Disp.Jscolor = document.createElement('script');
101101
CM.Disp.Jscolor.type = 'text/javascript';
102102
CM.Disp.Jscolor.setAttribute('src', 'http://aktanusa.github.io/CookieMonster/jscolor/jscolor.js');
103+
document.head.appendChild(CM.Disp.Jscolor);
103104
}
104105

105106
CM.Disp.CreateCssArea = function() {

0 commit comments

Comments
 (0)