Fixed skeleton scale by depending on the system
This commit is contained in:
parent
e941f2c87d
commit
f052e70417
|
@ -113,6 +113,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;
|
||||
|
|
|
@ -114,6 +114,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;
|
||||
|
|
|
@ -131,6 +131,8 @@
|
|||
</style>
|
||||
|
||||
<script>
|
||||
document.getElementsByTagName('html')[0].setAttribute('style', 'zoom: ' + 1 / window.devicePixelRatio + ';');
|
||||
|
||||
window.onbeforeunload = function() {
|
||||
window.postMessage("{ \"reporter_command\" : \"end\" }", "*");
|
||||
};
|
||||
|
|
|
@ -131,6 +131,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;
|
||||
|
|
|
@ -128,6 +128,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;
|
||||
|
|
|
@ -130,6 +130,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;
|
||||
|
|
Loading…
Reference in a new issue