mirror of
https://github.com/PitPik/colorPicker.git
synced 2025-08-31 04:52:45 -06:00
IE11 curso fix
This commit is contained in:
parent
d49ba56cc0
commit
2e2634e35b
2
color.all.min.js
vendored
2
color.all.min.js
vendored
File diff suppressed because one or more lines are too long
@ -14,7 +14,7 @@
|
||||
// _blankPng: ... // the blank 16x16px image for the transparent cursor
|
||||
// }
|
||||
_devMode = !_data, // if no _data we assume that colorPicker.data.js is missing (for development)
|
||||
_isIE = document.createStyleSheet !== undefined && document.getElementById,
|
||||
_isIE = document.createStyleSheet !== undefined && document.getElementById || !!window.MSInputMethodContext,
|
||||
_doesOpacity = typeof document.body.style.opacity !== 'undefined',
|
||||
// _isIE8 = _isIE && document.querySelectorAll,
|
||||
|
||||
@ -324,7 +324,7 @@
|
||||
replace(/§/g, prefix).
|
||||
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 && !doesBAS64 ? urlData + _data._blankPng : _options.imagePath + '_blank.cur').
|
||||
replace('_blank.png', !_isIE ? urlData + _data._blankPng : _options.imagePath + '_blank.cur').
|
||||
replace('"Courier New",', doesBAS64 ? '' : '"Courier New",').
|
||||
replace(/opacity:(\d*\.*(\d+))/g, function($1, $2){
|
||||
return !_doesOpacity ? '-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=' +
|
||||
|
Loading…
x
Reference in New Issue
Block a user