Skip to content

Commit

Permalink
site: Fix filtering by players
Browse files Browse the repository at this point in the history
I forgot a plus.

Fixes: 8ab119f ("site: Fix filtering for players without avatars")
Signed-off-by: Sean Anderson <[email protected]>
  • Loading branch information
Forty-Bot committed Mar 5, 2024
1 parent 2daae8a commit 3d84f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trends/site/static/js/filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function render_option(data, escape) {
} else {
let img = document.createElement('img');
img.classList.add('avatar_small');
img.setAttribute('src', "https://steamcdn-a.akamaihd.net/steamcommunity/public/"
img.setAttribute('src', "https://steamcdn-a.akamaihd.net/steamcommunity/public/" +
`images/avatars/${data.avatarhash.slice(0, 2)}/` +
`${data.avatarhash}.jpg`);
div.append(img, " ", data.name);
Expand Down

0 comments on commit 3d84f7f

Please sign in to comment.