late style compensation

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