diff options
Diffstat (limited to 'js')
| -rw-r--r-- | js/Utils.js | 1 | ||||
| -rw-r--r-- | js/Wizard.js | 6 |
2 files changed, 2 insertions, 5 deletions
diff --git a/js/Utils.js b/js/Utils.js index 96786650..ab2179c8 100644 --- a/js/Utils.js +++ b/js/Utils.js @@ -46,7 +46,6 @@ function showSeedPage() { leftPanel.selectItem(middlePanel.state); } passwordDialog.open(); - if(isMobile) hideMenu(); updateBalance(); } 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 |
