Added experimental fix for bug #214

This commit is contained in:
Jörn Zaefferer 2006-10-06 15:05:58 +00:00
parent cc967562ca
commit e218628dda

View file

@ -1496,6 +1496,8 @@ jQuery.extend({
var r = []; var r = [];
for ( var i = 0; i < a.length; i++ ) { for ( var i = 0; i < a.length; i++ ) {
if ( a[i].constructor == String ) { if ( a[i].constructor == String ) {
// trim whitespace, otherwise indexOf won't work as expected
a[i] = $.trim(a[i]);
var table = ""; var table = "";