Skip to main content

Bug Tracker

Side navigation

Ticket #4460: jquery-nightly.2.patch
File jquery-nightly.2.patch, 0.3 KB (added by ThomasCr, April 02, 2009 09:46AM UTC)

new version with jQuery.log() call

--- includes/javascript/jquery-nightly.js	2009-04-02 11:39:58.000000000 +0200
+++ includes/javascript/jquery.js	2009-04-02 11:42:32.000000000 +0200
@@ -3212,7 +3212,7 @@
 		});
 
 		if ( set )
-			style[ name ] = value;
+			try {style[ name ] = value;} catch(e) {jQuery.log('invalid style: ' + name + '=' + value);}
 
 		return style[ name ];
 	},

Download in other formats:

Original Format