Skip to content

Commit

Permalink
Disable page auto-refresh due to performance concerns
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Dolski committed Apr 23, 2024
1 parent 4e7ae63 commit 8aa8da5
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions app/assets/javascripts/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,6 @@ const EventsView = {
});
};

setInterval(function () {
refreshResults($(".page-item.active a").attr("href"));
}, IDEALS.UIUtils.REFRESH_FREQUENCY);

let timeout = null;
filterDiv.find("input").on("keyup", function () {
clearTimeout(timeout);
timeout = setTimeout(function () {
refreshResults();
}, IDEALS.UIUtils.KEY_DELAY);
});
filterDiv.find("[name=status]").on("change", function () {
refreshResults();
});
Expand Down

0 comments on commit 8aa8da5

Please sign in to comment.