From 8273c3cd11b40226e87a99c63b3c4d2d69357553 Mon Sep 17 00:00:00 2001 From: peterd Date: Sat, 13 Sep 2014 16:30:29 +0200 Subject: [PATCH] font correction for IE --- colorPicker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colorPicker.js b/colorPicker.js index 095fc2a..0d4d022 100644 --- a/colorPicker.js +++ b/colorPicker.js @@ -325,7 +325,7 @@ replace('_bgs.png', doesBAS64 ? urlData + _data._bgsPng : _options.imagePath + '_bgs.png'). replace('_icons.png', doesBAS64 ? urlData + _data._iconsPng : _options.imagePath + '_icons.png'). replace('_blank.png', !_isIE ? urlData + _data._blankPng : _options.imagePath + '_blank.cur'). - replace('"Courier New",', doesBAS64 ? '' : '"Courier New",'). + replace('"Courier New",', !_isIE ? '' : '"Courier New",'). replace(/opacity:(\d*\.*(\d+))/g, function($1, $2){ return !_doesOpacity ? '-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=' + Math.round(+$2 * 100) + ')";filter: alpha(opacity=' + Math.round(+$2 * 100) + ')' :