Commit 742c5393 authored by Alexey.Musinov's avatar Alexey.Musinov Committed by Alexander.Trofimov

for ios


git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@68047 954022d7-b5bf-4e40-9824-e11837661b57
parent 4b456e40
...@@ -68,7 +68,7 @@ AscBrowser.zoom = 1; ...@@ -68,7 +68,7 @@ AscBrowser.zoom = 1;
AscBrowser.checkZoom = function() AscBrowser.checkZoom = function()
{ {
if (AscBrowser.isChrome) if (AscBrowser.isChrome && document && document.firstElementChild)
{ {
document.firstElementChild.style.zoom = "reset"; document.firstElementChild.style.zoom = "reset";
AscBrowser.zoom = window.outerWidth / window.innerWidth; AscBrowser.zoom = window.outerWidth / 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