mirror of
https://github.com/PitPik/colorPicker.git
synced 2025-09-07 16:22:37 -06:00
late style compensation
This commit is contained in:
parent
8273c3cd11
commit
3e042b338d
@ -116,7 +116,9 @@
|
||||
}
|
||||
colorPickers.current = colorPickers[index];
|
||||
$(options.appenTo || document.body).append($colorPicker);
|
||||
$colorPicker.show(colorPicker.color.options.animationSpeed);
|
||||
setTimeout(function() { // compensating late style on onload in colorPicker
|
||||
$colorPicker.show(colorPicker.color.options.animationSpeed);
|
||||
}, 0);
|
||||
});
|
||||
|
||||
if (!colorPickers.evt || off) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user