[Pkg-javascript-commits] [jquery-minicolors] 22/46: Make check case insensitive
David Prévot
taffit at moszumanska.debian.org
Sun Oct 25 17:18:25 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository jquery-minicolors.
commit 66a2d2e9631ed646486a3b02f2617bdc23d25b0d
Author: Cory LaViska <cory at abeautifulsite.net>
Date: Thu Sep 17 16:11:44 2015 -0400
Make check case insensitive
---
jquery.minicolors.js | 2 +-
jquery.minicolors.min.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/jquery.minicolors.js b/jquery.minicolors.js
index 5fc9453..09e2802 100644
--- a/jquery.minicolors.js
+++ b/jquery.minicolors.js
@@ -571,7 +571,7 @@
}
// Set opacity to zero if input value is transparent
- if( input.val() === 'transparent' ) {
+ if( input.val().toLowerCase() === 'transparent' ) {
swatch.find('span').css('opacity', 0);
}
diff --git a/jquery.minicolors.min.js b/jquery.minicolors.min.js
index ceb321b..94938d3 100644
--- a/jquery.minicolors.min.js
+++ b/jquery.minicolors.min.js
@@ -8,4 +8,4 @@
* @license: http://opensource.org/licenses/MIT
*
*/
-!function(i){"function"==typeof define&&define.amd?define(["jquery"],i):"object"==typeof exports?module.exports=i(require("jquery")):i(jQuery)}(function($){function i(i,t){var a=$('<div class="minicolors" />'),o=$.minicolors.defaults,n=i.attr("data-format"),s=i.attr("data-keywords"),e=i.attr("data-opacity");i.data("minicolors-initialized")||(t=$.extend(!0,{},o,t),a.addClass("minicolors-theme-"+t.theme).toggleClass("minicolors-with-opacity",t.opacity).toggleClass("minicolors-no-data-uris" [...]
\ No newline at end of file
+!function(i){"function"==typeof define&&define.amd?define(["jquery"],i):"object"==typeof exports?module.exports=i(require("jquery")):i(jQuery)}(function($){function i(i,t){var a=$('<div class="minicolors" />'),o=$.minicolors.defaults,s=i.attr("data-format"),n=i.attr("data-keywords"),e=i.attr("data-opacity");i.data("minicolors-initialized")||(t=$.extend(!0,{},o,t),a.addClass("minicolors-theme-"+t.theme).toggleClass("minicolors-with-opacity",t.opacity).toggleClass("minicolors-no-data-uris" [...]
\ No newline at end of file
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/jquery-minicolors.git
More information about the Pkg-javascript-commits
mailing list