From ddc8e877473f60233f3d80bf19decdd31175b07f Mon Sep 17 00:00:00 2001 From: Robert Johnson Date: Mon, 29 Sep 2014 22:47:01 -0500 Subject: allow for address change, while still allowing use of BIP44. --- src/index.html | 11 +++++++++++ src/js/index.js | 6 +++++- 2 files changed, 16 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/index.html b/src/index.html index 837c735..695570f 100644 --- a/src/index.html +++ b/src/index.html @@ -205,6 +205,17 @@

Derived Addresses

Note these addreses are derived from the BIP32 Extended Key

+
+ +
+ +
+
diff --git a/src/js/index.js b/src/js/index.js index 09bcdd9..24456bb 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -16,6 +16,7 @@ DOM.network = $(".network"); DOM.phraseNetwork = $("#network-phrase"); DOM.bip44Network = $("#network-bip44"); + DOM.addressNetwork = $("#network-address-type"); DOM.phrase = $(".phrase"); DOM.passphrase = $(".passphrase"); DOM.generate = $(".generate"); @@ -89,10 +90,13 @@ } else if (n == "dogecoin") { network = Bitcoin.networks.dogecoin; - disableBip44Tab(); + //disableBip44Tab(); } DOM.phraseNetwork.val(n); DOM.bip44Network.val(n); + if(e.target != DOM.addressNetwork.dom){ + DOM.addressNetwork.val(n); + } delayedPhraseChanged(); } -- cgit v1.2.3 From 5f231c99519e3de57f9a84f6807ecf7d4975d728 Mon Sep 17 00:00:00 2001 From: Robert Johnson Date: Mon, 29 Sep 2014 22:57:48 -0500 Subject: fixed spacing, added missing tag --- src/index.html | 2 +- src/js/index.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/index.html b/src/index.html index 695570f..5ff997b 100644 --- a/src/index.html +++ b/src/index.html @@ -205,7 +205,7 @@

Derived Addresses

Note these addreses are derived from the BIP32 Extended Key

-
+