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 -->
|
<!-- wallet list -->
|
||||||
<div id="wallet-list"></div>
|
<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>
|
</div>
|
||||||
|
|
||||||
<!-- ============ ADDRESS DETAIL VIEW ============ -->
|
<!-- ============ ADDRESS DETAIL VIEW ============ -->
|
||||||
|
|||||||
@@ -229,6 +229,8 @@ function selectActiveAddress() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function init(ctx) {
|
function init(ctx) {
|
||||||
|
$("btn-add-wallet-bottom").addEventListener("click", ctx.showAddWalletView);
|
||||||
|
|
||||||
$("btn-main-send").addEventListener("click", () => {
|
$("btn-main-send").addEventListener("click", () => {
|
||||||
if (!selectActiveAddress()) {
|
if (!selectActiveAddress()) {
|
||||||
showFlash("No active address selected.");
|
showFlash("No active address selected.");
|
||||||
|
|||||||
Reference in New Issue
Block a user