mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 16:43:33 +02:00
[Case 4315] ESLint Pass 7 for colpick.js resolves regex error (details below).
Issue Count for colpick is now 0. Changes Committed: modified: scripts/system/html/js/colpick.js
This commit is contained in:
parent
fed85a7a53
commit
b058b346bd
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ For usage and examples: colpick.com/plugin
|
|||
// Paint the hue bar
|
||||
var UA = navigator.userAgent.toLowerCase();
|
||||
var isIE = navigator.appName === 'Microsoft Internet Explorer';
|
||||
var IEver = isIE ? parseFloat( UA.match( /msie ([0-9]{1,}[\.0-9]{0,})/ )[1] ) : 0;
|
||||
var IEver = isIE ? parseFloat( UA.match( /msie ([0-9]{1,}[.0-9]{0,})/ )[1] ) : 0;
|
||||
var ngIE = ( isIE && IEver < 10 );
|
||||
var stops = ['#ff0000', '#ff0080', '#ff00ff', '#8000ff', '#0000ff', '#0080ff', '#00ffff', '#00ff80',
|
||||
'#00ff00', '#80ff00', '#ffff00', '#ff8000', '#ff0000'];
|
||||
|
|
Loading…
Reference in a new issue