Added experimental fix for bug #214
This commit is contained in:
parent
cc967562ca
commit
e218628dda
2
src/jquery/jquery.js
vendored
2
src/jquery/jquery.js
vendored
|
@ -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 = "";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue