Commit 16652e27 authored by fred's avatar fred

chat: only hide player on mobile

parent ead2502f
......@@ -718,6 +718,10 @@ h1.top#frequence {
max-width:auto !important;
}
#player.on-chat-page {
display: none;
}
}
/****************************************************/
......
......@@ -540,7 +540,7 @@ $(function() {
/* CHAT */
if ($('#chat').length) {
$('#player').hide();
$('#player').addClass('on-chat-page');
var moderator = ($('#panikdb').length > 0);
var $msg = $('input#msg');
var $send = $('button#send');
......@@ -688,7 +688,7 @@ $(function() {
});
} else {
$('#player').show();
$('#player').removeClass('on-chat-page');
}
}
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