From ab537dcc4041a22852370778f44a5b166fb5ae05 Mon Sep 17 00:00:00 2001 From: Rob Garrison Date: Sat, 16 Jun 2018 15:09:10 -0500 Subject: [PATCH] Parser: Prevent input-select error. Fixes #1554 --- js/parsers/parser-input-select.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/parsers/parser-input-select.js b/js/parsers/parser-input-select.js index 74c18234..43e6b7e4 100644 --- a/js/parsers/parser-input-select.js +++ b/js/parsers/parser-input-select.js @@ -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 */ @@ -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) {