mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
prevent error if parser is missing "is" function
This commit is contained in:
parent
ca875263c2
commit
678baf14b6
@ -160,7 +160,7 @@
|
||||
}
|
||||
}
|
||||
for (i = 1; i < l; i++) {
|
||||
if (ts.parsers[i].is(nodeValue, table, node)) {
|
||||
if (ts.parsers[i].is && ts.parsers[i].is(nodeValue, table, node)) {
|
||||
return ts.parsers[i];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user