Add "Add additional wallet..." link at bottom of main view
Some checks failed
check / check (push) Has been cancelled
Some checks failed
check / check (push) Has been cancelled
This commit is contained in:
@@ -216,6 +216,14 @@
|
||||
|
||||
<!-- wallet list -->
|
||||
<div id="wallet-list"></div>
|
||||
|
||||
<div class="text-xs text-muted mt-2">
|
||||
<span
|
||||
id="btn-add-wallet-bottom"
|
||||
class="underline decoration-dashed cursor-pointer"
|
||||
>Add additional wallet...</span
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ============ ADDRESS DETAIL VIEW ============ -->
|
||||
|
||||
@@ -229,6 +229,8 @@ function selectActiveAddress() {
|
||||
}
|
||||
|
||||
function init(ctx) {
|
||||
$("btn-add-wallet-bottom").addEventListener("click", ctx.showAddWalletView);
|
||||
|
||||
$("btn-main-send").addEventListener("click", () => {
|
||||
if (!selectActiveAddress()) {
|
||||
showFlash("No active address selected.");
|
||||
|
||||
Reference in New Issue
Block a user