Skip to main content

Bug Tracker

Side navigation

Ticket #1155: 1155.diff


File 1155.diff, 0.3 KB (added by Bogtha, August 02, 2007 04:27PM UTC)

Fix for #1155

--- jquery-1.1.3.1.js	Thu Aug  2 16:40:28 2007
+++ jquery.js	Thu Aug  2 16:43:14 2007
@@ -613,6 +613,7 @@
 		// We have to loop this way because IE & Opera overwrite the length
 		// expando of getElementsByTagName
 		for ( var i = 0; second[i]; i++ )
+		if (second[i].nodeType != 8)
 			first.push(second[i]);
 		return first;
 	},

Download in other formats:

Original Format