fixed showing colorPicker the first time (quickFix)

pull/43/head
peterd 8 years ago
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…
Cancel
Save