Fixed frontpage-sorting issue

This commit is contained in:
Kasper Rynning-Tønnesen
2018-08-10 11:59:49 +02:00
parent c20da5db3b
commit 0337a17168
3 changed files with 8 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ var Frontpage = {
window.lists = undefined;
//document.querySelector("#lists-script").remove();
if(msg.length == 0) {
Helper.css("#preloader", "display", "none");
//Helper.css("#preloader", "display", "none");
document.getElementById("channel-list-container").insertAdjacentHTML("beforeend", "<p>No channels yet</p>");
} else {
Frontpage.populate_channels(msg, true, false);