Commit d41f07d0 authored by fred's avatar fred

chat: hide audio player on mobile

parent 9df9ca97
......@@ -540,6 +540,7 @@ $(function() {
/* CHAT */
if ($('#chat').length) {
$('#player').hide();
var moderator = ($('#panikdb').length > 0);
var $msg = $('input#msg');
var $send = $('button#send');
......@@ -684,6 +685,8 @@ $(function() {
if (connection) { connection.disconnect(); }
});
} else {
$('#player').show();
}
}
init();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment