From ce12b525d3c4521cfa036361523ae331907cbb70 Mon Sep 17 00:00:00 2001 From: Robert Casties Date: Sat, 6 Jul 2019 20:40:22 +0200 Subject: [PATCH] fix for gotoPageByIndex() not returning value. --- source/js/diva.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/js/diva.js b/source/js/diva.js index 79b08fa6..7ba23d6e 100644 --- a/source/js/diva.js +++ b/source/js/diva.js @@ -1173,7 +1173,7 @@ class Diva * */ gotoPageByIndex (pageIndex, xAnchor, yAnchor) { - this._gotoPageByIndex(pageIndex, xAnchor, yAnchor); + return this._gotoPageByIndex(pageIndex, xAnchor, yAnchor); } /**