diff options
| author | selsta <selsta@sent.at> | 2019-09-06 00:11:12 +0200 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2019-09-06 00:11:12 +0200 |
| commit | 8dab0755d325f338c81c8eb8ab1f0f0156cf86b1 (patch) | |
| tree | e2056793c43afee57ca5209ab080aec5bac5b9be /js | |
| parent | a267712d100a9c514dd7de451356fe115b2090a9 (diff) | |
| download | monzero-gui-8dab0755d325f338c81c8eb8ab1f0f0156cf86b1.tar.gz monzero-gui-8dab0755d325f338c81c8eb8ab1f0f0156cf86b1.tar.xz monzero-gui-8dab0755d325f338c81c8eb8ab1f0f0156cf86b1.zip | |
repo: remove isMobile leftovers
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 4a9a5fed..014e7aac 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 |
