Commit 271bf8ea authored by Oleg Korshul's avatar Oleg Korshul

.

parent 819210f2
...@@ -3110,22 +3110,25 @@ function CThumbnailsManager() ...@@ -3110,22 +3110,25 @@ function CThumbnailsManager()
this.initEvents2MobileAdvances = function() this.initEvents2MobileAdvances = function()
{ {
if (this.m_oWordControl.m_oApi.isMobileVersion)
return;
var control = this.m_oWordControl.m_oThumbnails.HtmlElement; var control = this.m_oWordControl.m_oThumbnails.HtmlElement;
control["ontouchstart"] = function(e) control["ontouchstart"] = function(e)
{ {
oThis.onMouseDown(e.touches[0]); oThis.onMouseDown(e.touches[0]);
return false; return false;
} };
control["ontouchmove"] = function(e) control["ontouchmove"] = function(e)
{ {
oThis.onMouseMove(e.touches[0]); oThis.onMouseMove(e.touches[0]);
return false; return false;
} };
control["ontouchend"] = function(e) control["ontouchend"] = function(e)
{ {
oThis.onMouseUp(e.changedTouches[0]); oThis.onMouseUp(e.changedTouches[0]);
return false; return false;
} };
} }
this.GetThumbnailPagePosition = function(pageIndex) this.GetThumbnailPagePosition = function(pageIndex)
......
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