mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
Wrong viewport for smallscreen devices
git-svn-id: https://svn.fhem.de/fhem/trunk@984 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1a196954e6
commit
4245be893c
@ -422,8 +422,11 @@ FW_AnswerCall($)
|
|||||||
pO '<link rel="apple-touch-icon-precomposed" href="'.$FW_ME.'/fhemicon.png"/>';
|
pO '<link rel="apple-touch-icon-precomposed" href="'.$FW_ME.'/fhemicon.png"/>';
|
||||||
pO '<meta name="apple-mobile-web-app-capable" content="yes"/>';
|
pO '<meta name="apple-mobile-web-app-capable" content="yes"/>';
|
||||||
#pO '<meta name="viewport" content="width=device-width"/>'
|
#pO '<meta name="viewport" content="width=device-width"/>'
|
||||||
pO '<meta name="viewport" content="width=320"/>' if($FW_ss);
|
if($FW_ss) {
|
||||||
pO '<meta name="viewport" content="width=768"/>' if($FW_tp);
|
pO '<meta name="viewport" content="width=320"/>';
|
||||||
|
} elsif($FW_tp) {
|
||||||
|
pO '<meta name="viewport" content="width=768"/>';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
my $rf = AttrVal($FW_wname, "refresh", "");
|
my $rf = AttrVal($FW_wname, "refresh", "");
|
||||||
|
Loading…
Reference in New Issue
Block a user