Skip to main content

Bug Tracker

Side navigation

Ticket #5446: curCSSDefaultView.patch
File curCSSDefaultView.patch, 0.4 KB (added by bgrins, November 03, 2009 10:13PM UTC)

Patch for curCSS Ticket #5446

Index: css.js
===================================================================
--- css.js	(revision 6617)
+++ css.js	(working copy)
@@ -110,7 +110,7 @@
 	},
 
 	curCSS: function( elem, name, force ) {
-		var ret, style = elem.style, filter;
+		var ret, style = elem.style, filter, defaultView = elem.ownerDocument.defaultView;
 
 		// IE uses filters for opacity
 		if ( !jQuery.support.opacity && name === "opacity" && elem.currentStyle ) {

Download in other formats:

Original Format