Misc: fix linting issues

This commit is contained in:
Rob Garrison 2017-05-26 13:29:29 -05:00
parent 17be0e31ea
commit d4e35fc0f2
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@
$table = c.$table, $table = c.$table,
$attach = $(wo.cssStickyHeaders_attachTo), $attach = $(wo.cssStickyHeaders_attachTo),
// target all versions of IE // target all versions of IE
isIE = 'ActiveXObject' in window || window.navigator.userAgent.indexOf("Edge") > -1, isIE = 'ActiveXObject' in window || window.navigator.userAgent.indexOf('Edge') > -1,
namespace = c.namespace + 'cssstickyheader ', namespace = c.namespace + 'cssstickyheader ',
$thead = $table.children('thead'), $thead = $table.children('thead'),
$caption = $table.children('caption'), $caption = $table.children('caption'),

View File

@ -849,7 +849,7 @@
// change & input events must be ignored if liveSearch !== true // change & input events must be ignored if liveSearch !== true
( eventType === 'change' || eventType === 'input' ) && ( eventType === 'change' || eventType === 'input' ) &&
// prevent search if liveSearch is a number // prevent search if liveSearch is a number
( liveSearch === true || liveSearch !== true && event.target.nodeName !== "INPUT" ) && ( liveSearch === true || liveSearch !== true && event.target.nodeName !== 'INPUT' ) &&
// don't allow 'change' or 'input' event to process if the input value // don't allow 'change' or 'input' event to process if the input value
// is the same - fixes #685 // is the same - fixes #685
this.value !== c.lastSearch[column] this.value !== c.lastSearch[column]