mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 09:22:26 +08:00
Fixed skeleton scale of PE by depending on the system
This commit is contained in:
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user