Browse Source

avoid carrot to jump

pull/25/head
peterd 7 years ago
parent
commit
7123fb0fec
  1. 2
      jqColorPicker.js
  2. 2
      jqColorPicker.js.map
  3. 2
      jqColorPicker.min.js

2
jqColorPicker.js

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

2
jqColorPicker.js.map
File diff suppressed because it is too large
View File

2
jqColorPicker.min.js
File diff suppressed because it is too large
View File

Loading…
Cancel
Save