Skip to main content

Bug Tracker

Side navigation

Ticket #1197: jquery.opacity.diff
File jquery.opacity.diff, 0.5 KB (added by brandon, May 16, 2007 03:33PM UTC)

Patch

Index: src/jquery/jquery.js
===================================================================
--- src/jquery/jquery.js	(revision 1908)
+++ src/jquery/jquery.js	(working copy)
@@ -1460,6 +1460,8 @@
 				ret = cur.getPropertyValue(prop);
 			else if ( prop == "display" )
 				ret = "none";
+			else if ( prop == "opacity")
+				ret = "1";
 			else
 				jQuery.swap(elem, { display: "block" }, function() {
 				    var c = document.defaultView.getComputedStyle(this, "");

Download in other formats:

Original Format