]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/commitdiff
Default coin selection is BTC - Bitcoin
authorIan Coleman <coleman.ian@gmail.com>
Sat, 5 Aug 2017 21:58:28 +0000 (07:58 +1000)
committerIan Coleman <coleman.ian@gmail.com>
Mon, 7 Aug 2017 08:54:12 +0000 (18:54 +1000)
src/js/index.js

index 01027b58571cc399ff9fc9f3f8bd1b5bac7636a7..a12e4422b2a8711b958fc6bee60238c350e27f7e 100644 (file)
             var option = $("<option>");
             option.attr("value", i);
             option.text(network.name);
+            if (network.name == "BTC - Bitcoin") {
+                option.prop("selected", true);
+            }
             DOM.phraseNetwork.append(option);
         }
     }