mirror of
https://github.com/PitPik/colorPicker.git
synced 2025-09-09 09:12:42 -06:00
late style compensation
This commit is contained in:
parent
8273c3cd11
commit
3e042b338d
@ -116,7 +116,9 @@
|
|||||||
}
|
}
|
||||||
colorPickers.current = colorPickers[index];
|
colorPickers.current = colorPickers[index];
|
||||||
$(options.appenTo || document.body).append($colorPicker);
|
$(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) {
|
if (!colorPickers.evt || off) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user