]> source.dussan.org Git - jquery-ui.git/commitdiff
Effects: Avoid cssHook blending in non-rgba browsers when the value is "transparent...
authorMike Sherov <mike.sherov@gmail.com>
Thu, 3 Jan 2013 19:33:41 +0000 (14:33 -0500)
committerMike Sherov <mike.sherov@gmail.com>
Thu, 3 Jan 2013 19:33:41 +0000 (14:33 -0500)
ui/jquery.ui.effect.js

index edb63c14bbf21a95e81978a6d685589540c77ea5..e45b76de0881cbe2d35411e7ce942e72e696cdad 100644 (file)
@@ -17,14 +17,14 @@ $.effects = {
 };
 
 /*!
- * jQuery Color Animations v2.1.1
+ * jQuery Color Animations v2.1.2pre@b11ed286205199b8db74220cd237c4f045050e63
  * https://github.com/jquery/jquery-color
  *
  * Copyright 2012 jQuery Foundation and other contributors
  * Released under the MIT license.
  * http://jquery.org/license
  *
- * Date: Sun Oct 28 15:08:06 2012 -0400
+ * Date: Thu Jan 3 14:21:32 2013 -0500
  */
 (function( jQuery, undefined ) {
 
@@ -596,7 +596,7 @@ color.hook = function( hook ) {
                                var parsed, curElem,
                                        backgroundColor = "";
 
-                               if ( jQuery.type( value ) !== "string" || ( parsed = stringParse( value ) ) ) {
+                               if ( value !== "transparent" && ( jQuery.type( value ) !== "string" || ( parsed = stringParse( value ) ) ) ) {
                                        value = color( parsed || value );
                                        if ( !support.rgba && value._rgba[ 3 ] !== 1 ) {
                                                curElem = hook === "backgroundColor" ? elem.parentNode : elem;