Commit 48398265 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

определение зума

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@68145 954022d7-b5bf-4e40-9824-e11837661b57
parent e965ee72
......@@ -71,7 +71,7 @@ AscBrowser.checkZoom = function()
if (AscBrowser.isChrome && document && document.firstElementChild)
{
document.firstElementChild.style.zoom = "reset";
AscBrowser.zoom = window.outerWidth / window.innerWidth;
AscBrowser.zoom = document.body.clientWidth / window.innerWidth;
}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment