mirror of
https://github.com/PitPik/colorPicker.git
synced 2025-07-24 10:24:30 -06:00
init bug
Bug found by @ct.js init without customBG causes error
This commit is contained in:
parent
cbede2ac03
commit
1ac6303474
2
color.all.min.js
vendored
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…
x
Reference in New Issue
Block a user