Skip to content

Commit

Permalink
Merge branch 'main' into branch-v1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-j-green authored Apr 16, 2024
2 parents 178f70c + 080a823 commit 59173d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gaseous-server/wwwroot/scripts/gamesformating.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function formatGamesPanel(targetElement, result, pageNumber, pageSize, forceScro
break;
case 'infinite':
var gamePlaceholders = document.getElementsByName('GamePlaceholder');

let currentPage = 1;
let totalPages = Math.ceil(result.count / pageSize);
let startIndex = 0;
Expand Down Expand Up @@ -390,7 +390,7 @@ function renderGameIcon(gameObject, showTitle, showRatings, showClassification,
} else {
gameImage.classList.add(...classes['game_tile_image lazy']);
}
//gameImage.src = '/images/unknowngame.png';
// gameImage.src = '/images/unknowngame.png';
if (gameObject.cover) {
gameImage.setAttribute('data-src', '/api/v1.1/Games/' + gameObject.id + '/cover/image/cover_big/' + gameObject.cover.imageId + '.jpg');
} else {
Expand Down

0 comments on commit 59173d8

Please sign in to comment.