Added experimental fix for bug #214
This commit is contained in:
parent
cc967562ca
commit
e218628dda
1 changed files with 3 additions and 1 deletions
4
src/jquery/jquery.js
vendored
4
src/jquery/jquery.js
vendored
|
@ -1496,7 +1496,9 @@ jQuery.extend({
|
|||
var r = [];
|
||||
for ( var i = 0; i < a.length; i++ ) {
|
||||
if ( a[i].constructor == String ) {
|
||||
|
||||
// trim whitespace, otherwise indexOf won't work as expected
|
||||
a[i] = $.trim(a[i]);
|
||||
|
||||
var table = "";
|
||||
|
||||
if ( !a[i].indexOf("<thead") || !a[i].indexOf("<tbody") ) {
|
||||
|
|
Loading…
Reference in a new issue