[Pkg-javascript-commits] [jquery-minicolors] 11/28: Changed swatch from <a> to <span> so it won't interfere with tabbing

David Prévot taffit at alioth.debian.org
Sun Sep 8 14:57:26 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository jquery-minicolors.

commit 89dd469c32ad42a27e148b37b0c1894bbee82d5a
Author: Cory LaViska <cory at abeautifulsite.net>
Date:   Thu Aug 8 18:17:42 2013 -0400

    Changed swatch from <a> to <span> so it won't interfere with tabbing
---
 jquery.minicolors.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jquery.minicolors.js b/jquery.minicolors.js
index 3d4864d..bb5d431 100644
--- a/jquery.minicolors.js
+++ b/jquery.minicolors.js
@@ -163,7 +163,7 @@ if(jQuery) (function($) {
 		
 		// The swatch
 		if( !settings.inline ) {
-			input.after('<a href="#" class="minicolors-swatch"><span class="minicolors-swatch-color"></span></a>');
+			input.after('<span class="minicolors-swatch"><span class="minicolors-swatch-color"></span></span>');
 			input.next('.minicolors-swatch').on('click', function(event) {
 				event.preventDefault();
 				input.focus();

-- 
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