2
0
mirror of https://github.com/PitPik/tinyColorPicker synced 2025-07-23 01:44:31 -06:00

avoid carrot to jump

This commit is contained in:
peterd 2015-02-06 21:25:44 +01:00
parent 6f7fd42860
commit 7123fb0fec
3 changed files with 3 additions and 3 deletions

View File

@ -207,7 +207,7 @@
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, ...)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long