Fixed skeleton scale of PE by depending on the system
This commit is contained in:
parent
f92715145e
commit
cd62729da9
|
@ -142,6 +142,8 @@
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
document.getElementsByTagName('html')[0].setAttribute('style', 'zoom: ' + 1 / window.devicePixelRatio + ';');
|
||||||
|
|
||||||
var userAgent = navigator.userAgent.toLowerCase(),
|
var userAgent = navigator.userAgent.toLowerCase(),
|
||||||
check = function(regex){ return regex.test(userAgent); },
|
check = function(regex){ return regex.test(userAgent); },
|
||||||
stopLoading = false;
|
stopLoading = false;
|
||||||
|
|
|
@ -144,6 +144,8 @@
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
document.getElementsByTagName('html')[0].setAttribute('style', 'zoom: ' + 1 / window.devicePixelRatio + ';');
|
||||||
|
|
||||||
var userAgent = navigator.userAgent.toLowerCase(),
|
var userAgent = navigator.userAgent.toLowerCase(),
|
||||||
check = function(regex){ return regex.test(userAgent); },
|
check = function(regex){ return regex.test(userAgent); },
|
||||||
stopLoading = false;
|
stopLoading = false;
|
||||||
|
|
Loading…
Reference in a new issue