Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Simon Daron
panikweb
Commits
d41f07d0
Commit
d41f07d0
authored
Apr 20, 2017
by
fred
Browse files
chat: hide audio player on mobile
parent
9df9ca97
Changes
1
Show whitespace changes
Inline
Side-by-side
panikweb_templates/static/js/specifics.js
View file @
d41f07d0
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment