aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/index.html11
-rw-r--r--src/js/index.js6
2 files changed, 16 insertions, 1 deletions
diff --git a/src/index.html b/src/index.html
index 837c735..5ff997b 100644
--- a/src/index.html
+++ b/src/index.html
@@ -205,6 +205,17 @@
205 <div class="col-md-12"> 205 <div class="col-md-12">
206 <h2>Derived Addresses</h2> 206 <h2>Derived Addresses</h2>
207 <p>Note these addreses are derived from the <strong>BIP32 Extended Key</strong></p> 207 <p>Note these addreses are derived from the <strong>BIP32 Extended Key</strong></p>
208 <div class="form-group">
209 <label for="network-address-type" class="col-sm-2 control-label">Coin</label>
210 <div class="col-sm-10">
211 <select id="network-address-type" class="network form-control">
212 <option value="bitcoin">Bitcoin</option>
213 <option value="bitcoin-testnet">Bitcoin Testnet</option>
214 <option value="litecoin">Litecoin</option>
215 <option value="dogecoin">Dogecoin</option>
216 </select>
217 </div>
218 </div>
208 <table class="table table-striped"> 219 <table class="table table-striped">
209 <thead> 220 <thead>
210 <th> 221 <th>
diff --git a/src/js/index.js b/src/js/index.js
index 09bcdd9..c610d29 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -16,6 +16,7 @@
16 DOM.network = $(".network"); 16 DOM.network = $(".network");
17 DOM.phraseNetwork = $("#network-phrase"); 17 DOM.phraseNetwork = $("#network-phrase");
18 DOM.bip44Network = $("#network-bip44"); 18 DOM.bip44Network = $("#network-bip44");
19 DOM.addressNetwork = $("#network-address-type");
19 DOM.phrase = $(".phrase"); 20 DOM.phrase = $(".phrase");
20 DOM.passphrase = $(".passphrase"); 21 DOM.passphrase = $(".passphrase");
21 DOM.generate = $(".generate"); 22 DOM.generate = $(".generate");
@@ -89,10 +90,13 @@
89 } 90 }
90 else if (n == "dogecoin") { 91 else if (n == "dogecoin") {
91 network = Bitcoin.networks.dogecoin; 92 network = Bitcoin.networks.dogecoin;
92 disableBip44Tab(); 93 //disableBip44Tab();
93 } 94 }
94 DOM.phraseNetwork.val(n); 95 DOM.phraseNetwork.val(n);
95 DOM.bip44Network.val(n); 96 DOM.bip44Network.val(n);
97 if(e.target != DOM.addressNetwork.dom){
98 DOM.addressNetwork.val(n);
99 }
96 delayedPhraseChanged(); 100 delayedPhraseChanged();
97 } 101 }
98 102