mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Rewriting stuff
This commit is contained in:
@@ -23,7 +23,12 @@ var Frontpage = {
|
||||
msg
|
||||
]);
|
||||
Frontpage.all_channels = msg.channels;
|
||||
Frontpage.populate_channels(msg.channels, true);
|
||||
if(msg.channels.length == 0) {
|
||||
$("#preloader").css("display", "none");
|
||||
$("#channel-list-container").append("<p>No channels yet</p>");
|
||||
} else {
|
||||
Frontpage.populate_channels(msg.channels, true);
|
||||
}
|
||||
Frontpage.set_viewers(msg.viewers);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user