X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Ftheme.php;h=a7c3b0c5dc4f54548a00af96fdb3c565400ba8e6;hb=4e1c51500404de5a6b33c95cfeafe3710b752c7f;hp=c5c18d0aa2443b08bcde5a451a31e2a6568674b4;hpb=2a33882fe03a52eb27a0c7154bac57e9fcd081b3;p=friendica.git diff --git a/view/theme/frio/theme.php b/view/theme/frio/theme.php index c5c18d0aa2..a7c3b0c5dc 100644 --- a/view/theme/frio/theme.php +++ b/view/theme/frio/theme.php @@ -21,9 +21,16 @@ function frio_init(&$a) { $frio = "view/theme/frio"; global $frio; - - + // if the device is a mobile device set js is_mobile + // variable so the js scripts can use this information + if($a->is_mobile || $a->is_tablet) { + $a->page["htmlhead"] .= <<< EOT + +EOT; + } if ($style == "") $style = get_config('frio', 'style');