Skip to content

Commit 2d25117

Browse files
committed
Fix filter update
1 parent ad2ea73 commit 2d25117

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

website/src/queries-logic.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,8 @@ function update_table(data) {
306306
function updateFilterFunction() {
307307
const filter = getFilterOrDefault();
308308
if (filter === '') {
309-
return; // no filter
309+
IS_USEFUL_FORK = () => true; // no filter
310+
return;
310311
}
311312

312313
const mapTable = {
@@ -551,7 +552,4 @@ if (JQ_REPO_FIELD.val()) {
551552
JQ_SEARCH_BTN.click();
552553
}
553554

554-
JQ_FILTER_FIELD.keyup(event => {
555-
// User updated the filter field, so we need to re-filter the table.
556-
update_filter();
557-
});
555+
JQ_FILTER_FIELD.on('input', update_filter);

0 commit comments

Comments
 (0)