aboutsummaryrefslogtreecommitdiff
path: root/js/Wizard.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Wizard.js')
-rw-r--r--js/Wizard.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/js/Wizard.js b/js/Wizard.js
index 8bdc4616..a41864d4 100644
--- a/js/Wizard.js
+++ b/js/Wizard.js
@@ -39,10 +39,8 @@ function switchPage(next) {
console.log("switchpage: currentPage: ", currentPage);
// Update prev/next button positions for mobile/desktop
- prevButton.anchors.verticalCenter = (!isMobile) ? wizard.verticalCenter : undefined
- prevButton.anchors.bottom = (isMobile) ? wizard.bottom : undefined
- nextButton.anchors.verticalCenter = (!isMobile) ? wizard.verticalCenter : undefined
- nextButton.anchors.bottom = (isMobile) ? wizard.bottom : undefined
+ prevButton.anchors.verticalCenter = wizard.verticalCenter
+ nextButton.anchors.verticalCenter = wizard.verticalCenter
if (currentPage > 0 || currentPage < pages.length - 1) {
pages[currentPage].opacity = 0