diff options
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/index.js | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/js/index.js b/src/js/index.js index bad4cfb..0ce039a 100644 --- a/src/js/index.js +++ b/src/js/index.js | |||
@@ -15,8 +15,6 @@ | |||
15 | var DOM = {}; | 15 | var DOM = {}; |
16 | DOM.network = $(".network"); | 16 | DOM.network = $(".network"); |
17 | DOM.phraseNetwork = $("#network-phrase"); | 17 | DOM.phraseNetwork = $("#network-phrase"); |
18 | DOM.bip44Network = $("#network-bip44"); | ||
19 | DOM.addressNetwork = $("#network-address-type"); | ||
20 | DOM.phrase = $(".phrase"); | 18 | DOM.phrase = $(".phrase"); |
21 | DOM.passphrase = $(".passphrase"); | 19 | DOM.passphrase = $(".passphrase"); |
22 | DOM.generate = $(".generate"); | 20 | DOM.generate = $(".generate"); |
@@ -84,15 +82,10 @@ | |||
84 | } | 82 | } |
85 | else if (n == "dogecoin") { | 83 | else if (n == "dogecoin") { |
86 | network = Bitcoin.networks.dogecoin; | 84 | network = Bitcoin.networks.dogecoin; |
87 | var NO_BIP44_VALUE = 9999; | 85 | var UNOFFICIAL_BIP44_COIN = 9999; |
88 | DOM.bip44coin.val(NO_BIP44_VALUE); // This coin is not in BIP44 | 86 | DOM.bip44coin.val(UNOFFICIAL_BIP44_COIN); // This coin is not in BIP44 |
89 | } | 87 | } |
90 | setBip44DerivationPath(); | 88 | setBip44DerivationPath(); |
91 | DOM.phraseNetwork.val(n); | ||
92 | DOM.bip44Network.val(n); | ||
93 | if(e.target != DOM.addressNetwork.dom){ | ||
94 | DOM.addressNetwork.val(n); | ||
95 | } | ||
96 | delayedPhraseChanged(); | 89 | delayedPhraseChanged(); |
97 | } | 90 | } |
98 | 91 | ||