Skip to main content

Bug Tracker

Side navigation

Ticket #1143: html.diff


File html.diff, 0.4 KB (added by brandon, May 30, 2007 11:48PM UTC)

Patch for html

Index: src/jquery/jquery.js
===================================================================
--- src/jquery/jquery.js	(revision 2008)
+++ src/jquery/jquery.js	(working copy)
@@ -1141,7 +1141,7 @@
 	 */
 	html: function( val ) {
 		return val == undefined ?
-			( this.length ? this[0].innerHTML : null ) :
+			( this.length ? this.removeAttr('mergeNum')[0].innerHTML : null ) :
 			this.empty().append( val );
 	},

Download in other formats:

Original Format