Closed herschel666 closed 9 years ago
Hi,
I think you don't need javascript here, you should use the "IndexHeadInsert" apache directive in the htaccess file, like this :
IndexHeadInsert "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">"
This looks much better this way :)
It already uses IndexHeadInsert. Closing.
https://github.com/AdamWhitcroft/Apaxy/blob/master/apaxy/htaccess.txt#L15
Hi.
To provide a better mobile experience, I added a
meta[viewport]
-tag to the<head>
with the help of mighty javascript.Best regards Emanuel