diff --git a/js/widgets/widget-cssStickyHeaders.js b/js/widgets/widget-cssStickyHeaders.js index c1267133..9c5a0385 100644 --- a/js/widgets/widget-cssStickyHeaders.js +++ b/js/widgets/widget-cssStickyHeaders.js @@ -22,7 +22,7 @@ $table = c.$table, $attach = $(wo.cssStickyHeaders_attachTo), // 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 ', $thead = $table.children('thead'), $caption = $table.children('caption'), diff --git a/js/widgets/widget-filter.js b/js/widgets/widget-filter.js index 319e4090..b11fb345 100644 --- a/js/widgets/widget-filter.js +++ b/js/widgets/widget-filter.js @@ -849,7 +849,7 @@ // change & input events must be ignored if liveSearch !== true ( eventType === 'change' || eventType === 'input' ) && // 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 // is the same - fixes #685 this.value !== c.lastSearch[column]