We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02c744a commit 4cdf4ebCopy full SHA for 4cdf4eb
scripts/script.js
@@ -89,5 +89,12 @@ function loadGameDetails(jsonPath) {
89
ageVal.title = "Age Restriction";
90
movementContainer.appendChild(ageVal);
91
}
92
+ if (game.otherversion && game.otherlink) {
93
+ const otherStr = document.createElement("img");
94
+ otherStr.src = "../images/otherversions.png";
95
+ otherStr.title = "This game has another version - " + game.otherversion;
96
+ otherStr.onclick = () => window.location.href = game.otherlink;
97
+ movementContainer.appendChild(otherStr);
98
+ }
99
});
-}
100
+}
0 commit comments