diff options
Diffstat (limited to 'http/_res')
-rw-r--r-- | http/_res/ranking.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/http/_res/ranking.js b/http/_res/ranking.js index c493ea3..3b116d6 100644 --- a/http/_res/ranking.js +++ b/http/_res/ranking.js @@ -53,7 +53,7 @@ var ranking = { readHash : function(force) { var params = ranking.parseHash(location.hash); - var allParams = ['age', 'gender', 'region', 'name', 'page', 'pagesize']; + var allParams = ['age', 'gender', 'region', 'name', 'page', 'pagesize', 'club']; var paramsChanged = false; if (force) { paramsChanged = true; @@ -107,6 +107,10 @@ var ranking = { if (row['player'].trim().toLowerCase().search(value.join('')) == -1) { hidden = true; } + } else if (param == 'club') { + if (row['club'].trim().toLowerCase().search(value.join('')) == -1) { + hidden = true; + } } else if (param.substr(0, 4) != 'page') { if (value.indexOf(row[param].trim()) == -1) { hidden = true; |