[Pkg-javascript-commits] [jquery-minicolors] 14/46: Make selectors lowercase
David Prévot
taffit at moszumanska.debian.org
Sun Oct 25 17:18:24 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 5aeeea9e42fec42456cbddd949651c6dd72e8f1f
Author: Cory LaViska <cory at abeautifulsite.net>
Date: Thu Sep 17 14:58:01 2015 -0400
Make selectors lowercase
---
jquery.minicolors.js | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/jquery.minicolors.js b/jquery.minicolors.js
index e7ef423..694e5be 100644
--- a/jquery.minicolors.js
+++ b/jquery.minicolors.js
@@ -490,7 +490,7 @@
}
// Set swatch color
- swatch.find('SPAN').css({
+ swatch.find('span').css({
backgroundColor: hex,
opacity: opacity
});
@@ -567,7 +567,7 @@
opacity = input.attr('data-opacity') === '' ? 1 : keepWithin(parseFloat(input.attr('data-opacity')).toFixed(2), 0, 1);
if( isNaN(opacity) ) opacity = 1;
input.attr('data-opacity', opacity);
- swatch.find('SPAN').css('opacity', opacity);
+ swatch.find('span').css('opacity', opacity);
// Set opacity picker position
y = keepWithin(opacitySlider.height() - (opacitySlider.height() * opacity), 0, opacitySlider.height());
@@ -576,11 +576,11 @@
// Set opacity to zero if input value is transparent
if( input.val() === 'transparent' ) {
- swatch.find('SPAN').css('opacity', 0);
+ swatch.find('span').css('opacity', 0);
}
// Update swatch
- swatch.find('SPAN').css('backgroundColor', hex);
+ swatch.find('span').css('backgroundColor', hex);
// Determine picker locations
switch(settings.control) {
@@ -986,4 +986,4 @@
}, 1);
});
-}));
+}));
\ 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