mirror of
https://github.com/PitPik/colorPicker.git
synced 2025-08-25 10:02:46 -06:00
minor fix
This commit is contained in:
parent
cb60a7671b
commit
099c6f9908
File diff suppressed because one or more lines are too long
@ -137,7 +137,7 @@
|
|||||||
isColorPicker = $(e.target).closest('.cp-app')[0],
|
isColorPicker = $(e.target).closest('.cp-app')[0],
|
||||||
inputIndex = $(that).index(e.target);
|
inputIndex = $(that).index(e.target);
|
||||||
|
|
||||||
if (isColorPicker && $(colorPickers).index(isColorPicker)) {
|
if (isColorPicker && colorPicker && $(colorPickers).index(isColorPicker)) {
|
||||||
if (e.target === colorPicker.nodes.exit) {
|
if (e.target === colorPicker.nodes.exit) {
|
||||||
$colorPicker.hide(animationSpeed);
|
$colorPicker.hide(animationSpeed);
|
||||||
$(':focus').trigger('blur');
|
$(':focus').trigger('blur');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user