diff options
author | friendica <info@friendica.com> | 2014-05-11 17:38:22 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-05-11 17:38:22 -0700 |
commit | 045d23a27c26d9d6daec7412c8726eba068f594a (patch) | |
tree | 97c7663ed3def47191a09a52ab0bfff76e65bf09 /view/tpl/head.tpl | |
parent | b5372f81523bafdf5f7f0191f08c775c4d60dcfd (diff) | |
parent | c455663509a094c22116be60034028378aa07100 (diff) | |
download | volse-hubzilla-045d23a27c26d9d6daec7412c8726eba068f594a.tar.gz volse-hubzilla-045d23a27c26d9d6daec7412c8726eba068f594a.tar.bz2 volse-hubzilla-045d23a27c26d9d6daec7412c8726eba068f594a.zip |
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'view/tpl/head.tpl')
-rwxr-xr-x | view/tpl/head.tpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/view/tpl/head.tpl b/view/tpl/head.tpl index e7b41523f..a212fd486 100755 --- a/view/tpl/head.tpl +++ b/view/tpl/head.tpl @@ -7,6 +7,9 @@ <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> +<script>(function(w){var dpr=((w.devicePixelRatio===undefined)?1:w.devicePixelRatio);if(!!w.navigator.standalone){var r=new XMLHttpRequest();r.open('GET','/retinaimages.php?devicePixelRatio='+dpr,false);r.send()}else{document.cookie='devicePixelRatio='+dpr+'; path=/'}})(window)</script> +<noscript><style id="devicePixelRatio" media="only screen and (-moz-min-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2)">html{background-image:url("/retinaimages.php?devicePixelRatio=2")}</style></noscript> + {{$head_css}} {{$js_strings}} |