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

lool demonstration

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