2
0
mirror of https://github.com/PitPik/tinyColorPicker synced 2025-07-05 09:04:29 -06:00

Better IE8- support

This commit is contained in:
peterd 2015-02-05 17:13:17 +01:00
parent ce643f09d6
commit 6fbe600e4a
3 changed files with 6 additions and 5 deletions

View File

@ -218,14 +218,15 @@
(_GPU ? _GPU + '0,' + h + ');' :
'top:' + h + 'px;') +
'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 =
(_GPU ? _GPU + a + ', 0);' :
'left:' + a + 'px;') +
'border-color:' + alphaContrast + ' transparent';
_options.doRender && (_cache.$element[0].style.cssText =
'background-color:' + RGBAText +
'background-color:' + text +
';color:' + (colors.rgbaMixBGMixCustom.luminance > 0.22 ? dark : light));
_cache.$element[0].value = text;
_options.renderCallback.call(

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long