mirror of
https://github.com/PitPik/colorPicker.git
synced 2025-09-24 08:30:57 -06:00
reappending colorPicker
Reappending on focus gets colorPicker to foreground
This commit is contained in:
parent
aa84f06639
commit
5be71259ae
@ -82,6 +82,7 @@
|
|||||||
colorPicker.saveAsBackground();
|
colorPicker.saveAsBackground();
|
||||||
}
|
}
|
||||||
colorPickers.current = colorPickers[index];
|
colorPickers.current = colorPickers[index];
|
||||||
|
$(options.appenTo || document.body).append($colorPicker);
|
||||||
$colorPicker.show(colorPicker.color.options.animationSpeed);
|
$colorPicker.show(colorPicker.color.options.animationSpeed);
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -104,7 +105,7 @@
|
|||||||
// $(document.body).append(isColorPicker);
|
// $(document.body).append(isColorPicker);
|
||||||
}
|
}
|
||||||
} else if (inputIndex !== -1) {
|
} else if (inputIndex !== -1) {
|
||||||
// input field
|
// input fireld
|
||||||
} else {
|
} else {
|
||||||
$colorPicker.hide(animationSpeed);
|
$colorPicker.hide(animationSpeed);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user