Commit bf003e34 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@51187 954022d7-b5bf-4e40-9824-e11837661b57
parent f146c68b
......@@ -1832,7 +1832,7 @@ function CMobileTouchManager()
this.Resize = function()
{
if (this.iScroll != null)
this.iScroll.refresh();
this.iScroll.refresh(true);
}
this.SendShowMenu = function(x, y)
......
......@@ -992,7 +992,7 @@ CTouchScroll.prototype = {
that._scrollbar('v');
},
refresh: function () {
refresh: function (bIsNoReaderAttack) {
var that = this,
offset,
i, l,
......@@ -1021,7 +1021,7 @@ CTouchScroll.prototype = {
that.x = -that.api.m_dScrollX;
that.y = -that.api.m_dScrollY;
if (that.api.ReaderModeDiv != null)
if (that.api.ReaderModeDiv != null && undefined === bIsNoReaderAttack)
{
var _elem = that.api.ReaderModeDiv;
that.scrollerW = m.round(_elem.offsetWidth);
......
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