Removed unused gameList and gameSelection ids

This commit is contained in:
Jorys_Paulin 2018-06-08 18:36:46 +02:00
parent 9457304ad3
commit 34b6004ad3

View File

@ -479,14 +479,11 @@ 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();
@ -871,8 +868,6 @@ 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();