From e647a8a1f63864aa350e8c24926170d0fdff653c Mon Sep 17 00:00:00 2001
From: John Resig <jeresig@gmail.com>
Date: Fri, 20 Jul 2007 22:47:21 +0000
Subject: [PATCH] Safari doesn't return the correct computed opacity. (Fix for
 bug #1369)

---
 src/jquery/jquery.js |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js
index f54ee30..0ff52fa 100644
--- a/src/jquery/jquery.js
+++ b/src/jquery/jquery.js
@@ -1471,6 +1471,9 @@ jQuery.extend({
 				    ret = c && c.getPropertyValue(prop) || "";
 				});
 
+			if ( prop == "opacity" && ret == "" )
+				ret = "1";
+
 		} else if (elem.currentStyle) {
 			var newProp = prop.replace(/\-(\w)/g,function(m,c){return c.toUpperCase();});
 			ret = elem.currentStyle[prop] || elem.currentStyle[newProp];
-- 
1.7.10.4