mirror of
https://github.com/PitPik/colorPicker.git
synced 2025-08-11 19:22:46 -06:00
fixed showing colorPicker the first time (quickFix)
This commit is contained in:
parent
ea36d9f4ee
commit
4a3b6c390b
File diff suppressed because one or more lines are too long
@ -124,7 +124,7 @@
|
||||
colorPickers.current = colorPickers[index];
|
||||
appendTo.appendChild(colorPickerUI);
|
||||
waitTimer = setInterval(function() { // compensating late style on onload in colorPicker
|
||||
if (colorPickers.current.cssIsReady) {console.log(colorPickers.current.cssIsReady)
|
||||
if (colorPickers.current.cssIsReady) {
|
||||
waitTimer = clearInterval(waitTimer);
|
||||
colorPickerUI.style.display = 'block';
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user