mirror of
https://github.com/PitPik/tinyColorPicker
synced 2025-07-05 09:04:29 -06:00
Better IE8- support
This commit is contained in:
parent
ce643f09d6
commit
6fbe600e4a
@ -218,15 +218,16 @@
|
|||||||
(_GPU ? _GPU + '0,' + h + ');' :
|
(_GPU ? _GPU + '0,' + h + ');' :
|
||||||
'top:' + h + 'px;') +
|
'top:' + h + 'px;') +
|
||||||
'border-color:' + 'transparent ' + HUEContrast;
|
'border-color:' + 'transparent ' + HUEContrast;
|
||||||
_$alpha[0].style.cssText = 'background-color:' + 'rgb(' + RGBInnerText + ')';
|
_$alpha[0].style.cssText = 'background-color:' + '#' + colors.HEX;
|
||||||
_$alpha_cursor[0].style.cssText =
|
_$alpha_cursor[0].style.cssText =
|
||||||
(_GPU ? _GPU + a + ', 0);' :
|
(_GPU ? _GPU + a + ', 0);' :
|
||||||
'left:' + a + 'px;') +
|
'left:' + a + 'px;') +
|
||||||
'border-color:' + alphaContrast + ' transparent';
|
'border-color:' + alphaContrast + ' transparent';
|
||||||
_options.doRender && (_cache.$element[0].style.cssText =
|
_options.doRender && (_cache.$element[0].style.cssText =
|
||||||
'background-color:' + RGBAText +
|
'background-color:' + text +
|
||||||
';color:' + (colors.rgbaMixBGMixCustom.luminance > 0.22 ? dark : light));
|
';color:' + (colors.rgbaMixBGMixCustom.luminance > 0.22 ? dark : light));
|
||||||
_cache.$element[0].value = text;
|
|
||||||
|
_cache.$element[0].value = text;
|
||||||
|
|
||||||
_options.renderCallback.call(
|
_options.renderCallback.call(
|
||||||
_colorPicker,
|
_colorPicker,
|
||||||
|
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