Skip to content

Commit

Permalink
Parser: Prevent input-select error. Fixes #1554
Browse files Browse the repository at this point in the history
  • Loading branch information
Mottie committed Jun 16, 2018
1 parent 0b48b0e commit ab537dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/parsers/parser-input-select.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Parser: input & select - updated 2018-03-03 (v2.30.2) *//*
/*! Parser: input & select - updated 2018-06-16 (v2.30.6) *//*
* for jQuery 1.7+ & tablesorter 2.7.11+
* Demo: http://mottie.github.com/tablesorter/docs/example-widget-grouping.html
*/
Expand Down Expand Up @@ -145,7 +145,7 @@
}
},
updateCheckbox = function($el, state) {
if ($el[0].nodeName !== 'INPUT') {
if ($el.length && $el[0].nodeName !== 'INPUT') {
$el = $el.find( 'input[type="checkbox"]' );
}
if ($el.length) {
Expand Down

0 comments on commit ab537dc

Please sign in to comment.