diff options
author | Matthew Somerville <matthew@mysociety.org> | 2020-01-28 11:22:46 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-01-28 11:27:38 +0000 |
commit | 9ab52402829e01cda1bff1243087a945d272a746 (patch) | |
tree | 3831657c687a4d634a5f6dc130dd0f5ceade5408 /web/js | |
parent | 2d6af993630d9e43594975e093507ee62ed53b97 (diff) |
Only trigger one change event on initial popstate.
When going back to the initial state with popstate, a change event was
being triggered on every single option of the filter selects. This led
to a lot of change events running on the category/status multi-selects
which then needlessly repeated the same activities over and over. This
locked up the browser for seconds in locations with many categories.
Diffstat (limited to 'web/js')
0 files changed, 0 insertions, 0 deletions