Fixed skeleton scale of PE by depending on the system

This commit is contained in:
Alexander Yuzhin 2019-10-02 17:54:49 +03:00
parent f92715145e
commit cd62729da9
2 changed files with 4 additions and 0 deletions

View file

@ -142,6 +142,8 @@
</style>
<script>
document.getElementsByTagName('html')[0].setAttribute('style', 'zoom: ' + 1 / window.devicePixelRatio + ';');
var userAgent = navigator.userAgent.toLowerCase(),
check = function(regex){ return regex.test(userAgent); },
stopLoading = false;

View file

@ -144,6 +144,8 @@
</style>
<script>
document.getElementsByTagName('html')[0].setAttribute('style', 'zoom: ' + 1 / window.devicePixelRatio + ';');
var userAgent = navigator.userAgent.toLowerCase(),
check = function(regex){ return regex.test(userAgent); },
stopLoading = false;