Side navigation
Ticket #4037: clean-1.diff
File clean-1.diff, 0.4 KB (added by dimi, February 01, 2009 09:13AM UTC)
Patch one
--- jquery-1.3.1.js 2009-02-01 04:08:08.000000000 -0500
+++ jquery-1.3.1-b.js 2009-02-01 03:30:31.000000000 -0500
@@ -866,7 +866,7 @@
});
// Trim whitespace, otherwise indexOf won't work as expected
- var tags = jQuery.trim( elem ).toLowerCase();
+ var tags = elem.replace(/^\s+/, '').toLowerCase();
var wrap =
// option or optgroup
Download in other formats:
Original Format
File clean-1.diff, 0.4 KB (added by dimi, February 01, 2009 09:13AM UTC)
Patch one
--- jquery-1.3.1.js 2009-02-01 04:08:08.000000000 -0500
+++ jquery-1.3.1-b.js 2009-02-01 03:30:31.000000000 -0500
@@ -866,7 +866,7 @@
});
// Trim whitespace, otherwise indexOf won't work as expected
- var tags = jQuery.trim( elem ).toLowerCase();
+ var tags = elem.replace(/^\s+/, '').toLowerCase();
var wrap =
// option or optgroup