aboutsummaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
authoriancoleman <coleman.ian@gmail.com>2014-10-13 10:45:13 +1100
committeriancoleman <coleman.ian@gmail.com>2014-10-13 10:45:13 +1100
commit64ed10ff75b1be2d2dc47e0aea44b42e7e304af2 (patch)
tree6d2736ae97df0a3573db5815783dc8a9c88b07ba /src/js
parentd6cedc9405e5f5751c8635f59ed3ff6876460776 (diff)
parent5f231c99519e3de57f9a84f6807ecf7d4975d728 (diff)
downloadBIP39-64ed10ff75b1be2d2dc47e0aea44b42e7e304af2.tar.gz
BIP39-64ed10ff75b1be2d2dc47e0aea44b42e7e304af2.tar.zst
BIP39-64ed10ff75b1be2d2dc47e0aea44b42e7e304af2.zip
Merge pull request #3 from robjohnson189/coin_selection
Coin selection
Diffstat (limited to 'src/js')
-rw-r--r--src/js/index.js6
1 files changed, 5 insertions, 1 deletions
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