dev: remove debug

pull/527/head
SandyDatatables 3 years ago
parent d8409c7a67
commit 84f3a707a2

@ -313,14 +313,12 @@
api.search(searchVal); api.search(searchVal);
fromPlugin = false; fromPlugin = false;
searchVal = ""; searchVal = "";
console.log("toggle a", searchVal, fuzzySearchVal);
} }
// Otherwise perform a fuzzy search // Otherwise perform a fuzzy search
else { else {
// Get the value from the input element and convert to lower case // Get the value from the input element and convert to lower case
fuzzySearchVal = input.val(); fuzzySearchVal = input.val();
searchVal = ""; searchVal = "";
console.log("toggle b", searchVal, fuzzySearchVal);
if (fuzzySearchVal !== undefined && fuzzySearchVal.length !== 0) { if (fuzzySearchVal !== undefined && fuzzySearchVal.length !== 0) {
fuzzySearchVal = fuzzySearchVal.toLowerCase(); fuzzySearchVal = fuzzySearchVal.toLowerCase();
@ -334,7 +332,6 @@
fromPlugin = true; fromPlugin = true;
// Empty the datatables search and replace it with our own // Empty the datatables search and replace it with our own
api.search(""); api.search("");
console.log("type or click")
input.val(fuzzySearchVal); input.val(fuzzySearchVal);
fromPlugin = false; fromPlugin = false;
} }
@ -354,7 +351,6 @@
fuzzySearchVal = value.toLowerCase(); fuzzySearchVal = value.toLowerCase();
searchVal = api.search(); searchVal = api.search();
input.val(fuzzySearchVal); input.val(fuzzySearchVal);
console.log("set fuzzy", searchVal, fuzzySearchVal);
// For each row call the fuzzy search function to get result // For each row call the fuzzy search function to get result
api.rows().iterator('row', function(settings, rowIdx) { api.rows().iterator('row', function(settings, rowIdx) {

Loading…
Cancel
Save