Bug found by @ct.js
init without customBG causes error
pull/16/head
peterd 9 years ago
parent cbede2ac03
commit 1ac6303474

2
color.all.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -155,7 +155,10 @@
},
that = this,
colorPickers = this.colorPickers || [], // this is a way to prevent data binding on HTMLElements
testColors = new window.Colors({customBG: config.customBG, allMixDetails: true});
testColors = new window.Colors({
customBG: (config && config.customBG) || '#FFFFFF',
allMixDetails: true
});
this.colorPickers = colorPickers;

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save