refactor: separated import code into it’s component chunks to allow for updating a ROM’s link to a platform and/or game
This commit is contained in:
@@ -99,6 +99,11 @@
|
||||
artworks = result.artworks.ids;
|
||||
artworksPostition = 0;
|
||||
rotateBackground();
|
||||
} else {
|
||||
if (result.cover) {
|
||||
var bg = document.getElementById('bgImage');
|
||||
bg.setAttribute('style', 'background-image: url("/api/v1/Games/' + gameId + '/cover/image"); background-position: center; background-repeat: no-repeat; background-size: cover; filter: blur(10px); -webkit-filter: blur(10px);');
|
||||
}
|
||||
}
|
||||
|
||||
// load cover
|
||||
|
Reference in New Issue
Block a user