mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 08:53:02 +08:00
[common] fix bug 48995, 48992
This commit is contained in:
@ -120,8 +120,8 @@ Common.Utils = _.extend(new(function() {
|
||||
me = this,
|
||||
checkSize = function() {
|
||||
var scale = {};
|
||||
if ( !!window.AscCommon )
|
||||
scale = window.AscCommon.checkDeviceScale();
|
||||
if ( !!window.AscCommon /*&& !!window.AscCommon.checkDeviceScale*/ )
|
||||
scale = window.AscCommon.checkDeviceScale1();
|
||||
else {
|
||||
var str_mq_150 = "screen and (-webkit-min-device-pixel-ratio: 1.5) and (-webkit-max-device-pixel-ratio: 1.9), " +
|
||||
"screen and (min-resolution: 1.5dppx) and (max-resolution: 1.9dppx)";
|
||||
|
||||
Reference in New Issue
Block a user