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

lool demonstration

parent 8b13d5a9
...@@ -3119,13 +3119,19 @@ function CDemonstrationManager(htmlpage) ...@@ -3119,13 +3119,19 @@ function CDemonstrationManager(htmlpage)
if (!_is_transition) if (!_is_transition)
this.SlideNum++; this.SlideNum++;
if (this.SlideNum > this.SlidesCount) if (this.SlideNum >= this.SlidesCount)
this.End();
else
{ {
this.HtmlPage.m_oApi.sync_DemonstrationSlideChanged(this.SlideNum); if (this.HtmlPage.m_oApi.m_oLogicDocument.isLoopShowMode())
this.StartSlide(!_is_transition, false); this.SlideNum = 0;
else
{
this.End();
return;
}
} }
this.HtmlPage.m_oApi.sync_DemonstrationSlideChanged(this.SlideNum);
this.StartSlide(!_is_transition, false);
} }
this.PrevSlide = function() this.PrevSlide = function()
......
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