We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9d48c3 commit 77d2fc8Copy full SHA for 77d2fc8
enjoyhint.js
@@ -1437,8 +1437,10 @@
1437
else {
1438
distance = initial_distance;
1439
ver_button_position = initial_ver_position;
1440
- that.$next_btn.html(customBtnProps.nextButton ? customBtnProps.nextButton.text : 'Next');
1441
- that.$prev_btn.html(customBtnProps.prevButton ? customBtnProps.prevButton.text : 'Previous');
+ that.$next_btn.html(customBtnProps.nextButton && customBtnProps.nextButton.text ?
+ customBtnProps.nextButton.text : 'Next');
1442
+ that.$prev_btn.html(customBtnProps.prevButton && customBtnProps.prevButton.text ?
1443
+ customBtnProps.prevButton.text : 'Previous');
1444
}
1445
1446
that.$prev_btn.css({
0 commit comments