diff --git a/js/sheetsee.js b/js/sheetsee.js index bd73334..27851bd 100644 --- a/js/sheetsee.js +++ b/js/sheetsee.js @@ -16112,6 +16112,7 @@ module.exports.initiateTableFilter = function(opts) { $(this.id + ".noMatches").css("visibility", "hidden") $(this.id + opts.filterDiv).val("") makeTable(opts) + window.location.hash = "" }) $(opts.filterDiv).keyup(function(e) { var text = $(e.target).val() @@ -16144,7 +16145,7 @@ function sortThings(opts, sorter, sorted, tableDiv) { return 0 }) if (sorted === "descending") opts.data.reverse() - makeTable(opts) + searchTable(opts, document.getElementById("tableFilter").value) var header $(tableDiv + " .tHeader").each(function(i, el){ var contents = resolveDataTitle($(el).text()) @@ -16290,4 +16291,4 @@ function table(data, opts) { $(opts.tableDiv).html(tableContents) } },{"icanhaz":2}]},{},[1]) -; \ No newline at end of file +;