Commit 16c2cceb 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@48026 954022d7-b5bf-4e40-9824-e11837661b57
parent b678cb23
......@@ -2958,10 +2958,10 @@ function CDemonstrationManager(htmlpage)
this.GoToSlide = function(slideNum)
{
if (!this.DemonstrationManager.Mode)
if (!this.Mode)
return;
if ((slideNum == this.SlideNum) || (slideNum < 0) || (slideNum >= this.m_oDrawingDocument.SlidesCount))
if ((slideNum == this.SlideNum) || (slideNum < 0) || (slideNum >= this.SlidesCount))
return;
this.SlideNum = slideNum;
......
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