mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Misc: fix linting issues
This commit is contained in:
parent
17be0e31ea
commit
d4e35fc0f2
@ -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'),
|
||||||
|
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user