2
0
mirror of https://github.com/PitPik/colorPicker.git synced 2025-09-24 00:22:50 -06:00

reappending colorPicker

Reappending on focus gets colorPicker to foreground
This commit is contained in:
peterd 2014-09-07 19:54:31 +02:00
parent aa84f06639
commit 5be71259ae

View File

@ -82,6 +82,7 @@
colorPicker.saveAsBackground();
}
colorPickers.current = colorPickers[index];
$(options.appenTo || document.body).append($colorPicker);
$colorPicker.show(colorPicker.color.options.animationSpeed);
});
@ -104,7 +105,7 @@
// $(document.body).append(isColorPicker);
}
} else if (inputIndex !== -1) {
// input field
// input fireld
} else {
$colorPicker.hide(animationSpeed);
}