Skip to content

Commit

Permalink
Merge pull request #485 from ifpen/482-fix-custom-navigation-issue
Browse files Browse the repository at this point in the history
restore old page conventions : 1,2,3 instead of 0,1,2 ...
  • Loading branch information
bengaid authored Jan 9, 2025
2 parents f1149ca + 08c70e9 commit d8230ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front-end/source/kernel/general/interfaces/chalkit-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export const chalkit = (function () {
}

function goToPage(numPage) {
customNavigationRuntime.goToPage(numPage);
customNavigationRuntime.goToPage(numPage-1);
}

function _checkWidgetExists(widgetName) {
Expand Down

0 comments on commit d8230ff

Please sign in to comment.