Skip to main content

Bug Tracker

Side navigation

Ticket #3022: patch_nan_css.patch
File patch_nan_css.patch, 0.4 KB (added by rodnaph, June 11, 2008 10:54AM UTC)
Index: jquery.js.960.tme.js
===================================================================
--- jquery.js.960.tme.js	(revision 9049)
+++ jquery.js.960.tme.js	(working copy)
@@ -1042,7 +1042,7 @@
 
 		var notxml = !jQuery.isXMLDoc( elem ),
 			// Whether we are setting (or getting)
-			set = value !== undefined,
+			set = value !== undefined && !isNaN(value),
 			msie = jQuery.browser.msie;
 
 		// Try to normalize/fix the name

Download in other formats:

Original Format