mirror of
https://github.com/PitPik/tinyColorPicker
synced 2025-07-23 09:54:29 -06:00
avoid carrot to jump
This commit is contained in:
parent
6f7fd42860
commit
7123fb0fec
@ -207,7 +207,7 @@
|
|||||||
color: colors.rgbaMixBGMixCustom.luminance > 0.22 ? dark : light
|
color: colors.rgbaMixBGMixCustom.luminance > 0.22 ? dark : light
|
||||||
});
|
});
|
||||||
|
|
||||||
$element.val() !== text && $element.val(text); // avoids carret jump
|
toggled !== true && $element.val(text); // avoids carret jump
|
||||||
|
|
||||||
// faster version (more than 2.5x)... though, no jQuery (colors, ...)
|
// faster version (more than 2.5x)... though, no jQuery (colors, ...)
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
2
jqColorPicker.min.js
vendored
2
jqColorPicker.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user