aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Coleman <coleman.ian@gmail.com>2014-09-25 10:42:35 +1000
committerIan Coleman <coleman.ian@gmail.com>2014-09-25 10:42:35 +1000
commita19a549879504d12ec10955bc550c50294f996ec (patch)
treed3baf1d92a9b12bb0935a52da0fa7a9b013486d5 /src
parent59780293832d7a27d34378d4e47e7995f7d154a0 (diff)
downloadBIP39-a19a549879504d12ec10955bc550c50294f996ec.tar.gz
BIP39-a19a549879504d12ec10955bc550c50294f996ec.tar.zst
BIP39-a19a549879504d12ec10955bc550c50294f996ec.zip
keyup event changed to input
prevents doing unnecessary calculations when pressing ctrl or arrow-keys etc.
Diffstat (limited to 'src')
-rw-r--r--src/js/index.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/js/index.js b/src/js/index.js
index cee8ffb..7f39ad2 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -35,15 +35,15 @@
35 35
36 function init() { 36 function init() {
37 // Events 37 // Events
38 DOM.phrase.on("keyup", delayedPhraseChanged); 38 DOM.phrase.on("input", delayedPhraseChanged);
39 DOM.passphrase.on("keyup", delayedPhraseChanged); 39 DOM.passphrase.on("input", delayedPhraseChanged);
40 DOM.generate.on("click", generateClicked); 40 DOM.generate.on("click", generateClicked);
41 DOM.more.on("click", showMore); 41 DOM.more.on("click", showMore);
42 DOM.bip32path.on("keyup", bip32Changed); 42 DOM.bip32path.on("input", bip32Changed);
43 DOM.bip44purpose.on("keyup", bip44Changed); 43 DOM.bip44purpose.on("input", bip44Changed);
44 DOM.bip44coin.on("keyup", bip44Changed); 44 DOM.bip44coin.on("input", bip44Changed);
45 DOM.bip44account.on("keyup", bip44Changed); 45 DOM.bip44account.on("input", bip44Changed);
46 DOM.bip44change.on("keyup", bip44Changed); 46 DOM.bip44change.on("input", bip44Changed);
47 DOM.tab.on("click", tabClicked); 47 DOM.tab.on("click", tabClicked);
48 DOM.indexToggle.on("click", toggleIndexes); 48 DOM.indexToggle.on("click", toggleIndexes);
49 DOM.addressToggle.on("click", toggleAddresses); 49 DOM.addressToggle.on("click", toggleAddresses);