diff options
author | emkael <emkael@tlen.pl> | 2017-04-12 19:09:24 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-04-12 19:09:24 +0200 |
commit | dc0747e7a8e75a6b47c752f0f48e7d4298f3a46d (patch) | |
tree | 8eb66f050e61bf6a01a30bb15644f8736a8141c0 /http | |
parent | 5af67365b2420a316e75aaac5a798eaa7ebab461 (diff) |
Hiding ranking table on param change as early as possible
Diffstat (limited to 'http')
-rw-r--r-- | http/res/ranking.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/http/res/ranking.js b/http/res/ranking.js index 6d3b0ac..1d8923c 100644 --- a/http/res/ranking.js +++ b/http/res/ranking.js @@ -173,8 +173,8 @@ var ranking = { }); $('button[data-filter]').click(function() { - $('table.table-paginate').paginate('clear'); $('table.table').css('opacity', 0.1); + $('table.table-paginate').paginate('clear'); var button = $(this); var params = ranking.parseHash(location.hash); var param = params.get(button.attr('data-filter')); @@ -198,8 +198,8 @@ var ranking = { }); $('button[data-clear]').click(function() { - $('table.table-paginate').paginate('clear'); $('table.table').css('opacity', 0.1); + $('table.table-paginate').paginate('clear'); var button = $(this); var params = ranking.parseHash(location.hash); params.delete(button.attr('data-clear')); |