This commit is contained in:
Kasper Rynning-Tønnesen
2015-05-06 14:14:31 +02:00
2 changed files with 3 additions and 1 deletions

View File

@@ -82,7 +82,7 @@ if(isset($_GET['chan'])){
<div class="section">
<ul class="row" id="channels">
<div id="chan-html">
<div id="chan-html" class="hide">
<li id="chan-card" class="col s12 m4 l3">
<div class="card">
<a class="chan-link">

View File

@@ -75,6 +75,8 @@ $(document).ready(function (){
list_html = $("#channels").html();
$("#channels").empty();
$("#search").focus();
var socket = io.connect('http://'+window.location.hostname+':3000');
var playlists = [];
socket.emit('frontpage_lists');