@claviska/jquery-minicolors
Advanced tools
Comparing version 2.3.2 to 2.3.3
{ | ||
"name": "jquery-minicolors", | ||
"version": "2.3.2", | ||
"version": "2.3.3", | ||
"homepage": "https://github.com/claviska/jquery-minicolors", | ||
@@ -5,0 +5,0 @@ "authors": [ |
{ | ||
"name": "jquery-minicolors", | ||
"version": "2.3.2", | ||
"version": "2.3.3", | ||
"description": "jQuery MiniColors Plugin", | ||
@@ -5,0 +5,0 @@ "homepage": "", |
@@ -149,2 +149,3 @@ // | ||
var swatch; | ||
var swatchString; | ||
var panel; | ||
@@ -227,6 +228,7 @@ var i; | ||
} | ||
swatchString = swatch; | ||
swatch = isRgb(swatch) ? parseRgb(swatch, true) : hex2rgb(parseHex(swatch, true)); | ||
$('<li class="minicolors-swatch minicolors-sprite"><span class="minicolors-swatch-color" title="' + name + '"></span></li>') | ||
.appendTo(swatches) | ||
.data('swatch-color', settings.swatches[i]) | ||
.data('swatch-color', swatchString) | ||
.find('.minicolors-swatch-color') | ||
@@ -288,3 +290,3 @@ .css({ | ||
} else { | ||
panel.css('opacity', 1); | ||
panel.show(); | ||
if (settings.show) settings.show.call(input.get(0)); | ||
@@ -308,3 +310,3 @@ } | ||
} else { | ||
panel.css('opacity', 0); | ||
panel.hide(); | ||
if (settings.hide) settings.hide.call(input.get(0)); | ||
@@ -311,0 +313,0 @@ minicolors.removeClass('minicolors-focus'); |
{ | ||
"name": "@claviska/jquery-minicolors", | ||
"version": "2.3.2", | ||
"version": "2.3.3", | ||
"homepage": "https://github.com/claviska/jquery-minicolors", | ||
@@ -5,0 +5,0 @@ "author": "Cory LaViska", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
165068
1488