From c48a1d8adcdea082264b77e1424549f22910c2cf Mon Sep 17 00:00:00 2001 From: Jorys Paulin Date: Sat, 5 May 2018 22:05:32 +0200 Subject: [PATCH] Fixed a duplication bug --- static/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/index.js b/static/js/index.js index b1019cf..a54e016 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -494,7 +494,7 @@ function showApps(host) { console.error('%c[index.js, showApps]', 'User\'s applist is empty') var img = new Image() img.src = 'static/res/applist_empty.svg' - document.getElementById('game-grid').appendChild(img) + $('#game-grid').html(img) snackbarLog('Your game list is empty') return; // We stop the function right here }