diff --git a/static/main.js b/static/main.js index b5ea7f7e8..c9f3850b2 100644 --- a/static/main.js +++ b/static/main.js @@ -117,7 +117,7 @@ function filterByTag(curTag) { for (var i = 0, len = games.length; i < len; i += 1) { game = games[i]; gameTags = game.getAttribute('data-tags').split(' '); - parent = document.getElementById(game.getAttribute('data-parent')); + parent = document.getElementById(game.getAttribute('data-parent') + 'games'); if (gameTags && gameTags.indexOf(curTag) > -1) { if (!game.classList.contains('active')) {