2
0
mirror of https://github.com/PitPik/colorPicker.git synced 2025-08-12 03:32:45 -06:00

fixed showing colorPicker the first time (quickFix)

This commit is contained in:
peterd 2016-05-18 16:28:07 +02:00
parent ea36d9f4ee
commit 4a3b6c390b
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -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