diff options
-rw-r--r-- | http/res/ranking.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/http/res/ranking.js b/http/res/ranking.js index bae4be9..e36a992 100644 --- a/http/res/ranking.js +++ b/http/res/ranking.js @@ -194,10 +194,13 @@ var ranking = { $('.container .table tbody tr').click(ranking.playerClick); $(document).ready(function() { - $(window).on('hashchange', ranking.readHash).trigger('hashchange'); + $(window).on('hashchange', function() { + ranking.filtersDisabled = true; + $('table.data-table, .filters .panel-body').css('opacity', 0.1); + ranking.readHash(); + }).trigger('hashchange'); }); - var handleParams = function(callback, target, ev) { if (!ranking.filtersDisabled) { ranking.filtersDisabled = true; |