From 744ff01e641f616be30769161fd1256299d8a6cf Mon Sep 17 00:00:00 2001 From: Jorys_Paulin Date: Tue, 12 Jun 2018 12:56:45 +0200 Subject: [PATCH] Revert "Removed unused gameList and gameSelection ids" This reverts commit 34b6004ad3e612892391ab4b1537274d78802193. --- static/js/index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/js/index.js b/static/js/index.js index 8cef2e9..04c6f40 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -485,11 +485,14 @@ function showApps(host) { } console.log('%c[index.js, showApps]', 'color: green;', 'Current host object:', host, host.toString()); //Logging both object (for console) and toString-ed object (for text logs) $('#quitCurrentApp').show(); + $("#gameList .game-container").remove(); // Show a spinner while the applist loads $('#naclSpinnerMessage').text('Loading apps...'); $('#naclSpinner').css('display', 'inline-block'); + $("div.game-container").remove(); + host.getAppList().then(function(appList) { $('#naclSpinner').hide(); $("#game-grid").show(); @@ -874,6 +877,8 @@ function updateDefaultBitrate() { function onWindowLoad() { console.log('%c[index.js]', 'color: green;', 'Moonlight\'s main window loaded'); + // don't show the game selection div + $('#gameSelection').css('display', 'none'); loadWindowState();