ensure table is always correctly displayed
[radio.git] / html / last_songs.html
index 7e94c7c..25ccf28 100644 (file)
@@ -17,6 +17,7 @@
         </script>
 
         <script>$(document).ready(function() {
+                $('#history').DataTable();
                 $.getJSON("http://radio.wpitchoune.net/cgi-bin/icecast_last_songs.cgi",
                           function(data) {
                         $.each(data, function(i, value) {
@@ -25,7 +26,6 @@
                                                      + "<td>" + value.listeners + "</td>"
                                                      + "</tr>");
                         });
-
                         $('#history').DataTable();
                 });
 
@@ -56,7 +56,9 @@
         </section>
 
         <footer>
-                <p>(c) Proxy Radio</p>
+                <ul>
+                        <li><a href="mailto:proxyradio@wpitchoune.net">Contact</a></li>
+                </ul>
         </footer>
 </body>