fix: correct studio sequence navigation bar with correct Next and Previous button actions

This commit is contained in:
SaadYousaf
2022-01-04 02:18:45 +05:00
committed by Saad Yousaf
parent 2ac33f8113
commit 2c6989feab
3 changed files with 106 additions and 48 deletions

View File

@@ -364,7 +364,7 @@
if ((direction === 'next') && (this.position >= this.contents.length)) {
targetUrl = this.nextUrl;
} else if ((direction === 'previous') && (this.position === 1)) {
} else if ((direction === 'previous')) {
targetUrl = this.prevUrl;
}