Commit 87e2adb7 authored by SergeyLuzyanin's avatar SergeyLuzyanin

fix Bug 35661

parent 79aeb907
......@@ -4280,7 +4280,7 @@ CPresentation.prototype =
}
var nNewCurrentPage = Math.min( this.Slides.length - 1, Math.max( 0, PageNum ) );
if(nNewCurrentPage !== this.CurPage && this.CurPage < this.Slides.length)
if(nNewCurrentPage !== this.CurPage && nNewCurrentPage < this.Slides.length)
{
var oCurrentController = this.GetCurrentController();
if(oCurrentController){
......
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