mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 04:43:40 +00:00
Don't activate chat on mobile
This commit is contained in:
parent
9ac7e18bdd
commit
3a7fdd6f6a
1 changed files with 3 additions and 0 deletions
|
@ -53,6 +53,9 @@ function xmpp_converse(&$a,&$s) {
|
|||
if ($_GET["mode"] == "minimal")
|
||||
return;
|
||||
|
||||
if ($a->is_mobile || $a->is_tablet)
|
||||
return;
|
||||
|
||||
$a->page['htmlhead'] .= '<link type="text/css" rel="stylesheet" media="screen" href="addon/xmpp/converse/css/converse.css" />'."\n";
|
||||
$a->page['htmlhead'] .= '<script src="addon/xmpp/converse/builds/converse.min.js"></script>'."\n";
|
||||
|
||||
|
|
Loading…
Reference in a new issue