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:
parent
aa84f06639
commit
5be71259ae
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user