2
0
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:
rudolfkoenig 2011-08-21 08:04:26 +00:00
parent 1a196954e6
commit 4245be893c

View File

@ -422,8 +422,11 @@ FW_AnswerCall($)
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="viewport" content="width=device-width"/>'
pO '<meta name="viewport" content="width=320"/>' if($FW_ss);
pO '<meta name="viewport" content="width=768"/>' if($FW_tp);
if($FW_ss) {
pO '<meta name="viewport" content="width=320"/>';
} elsif($FW_tp) {
pO '<meta name="viewport" content="width=768"/>';
}
}
my $rf = AttrVal($FW_wname, "refresh", "");