diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2018-09-06 00:13:47 -0400 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2018-09-06 00:14:25 -0400 |
commit | 6ee1db2ec8bdd3dfae967228fc4a25353880f6ca (patch) | |
tree | b5d05c70e9fd34c68ce0f260fff22f56eecbb3e6 /assets/main.js | |
parent | 52a73574488df86a0b251aa106b1dd40ed90c247 (diff) |
tweak header some more, moving things and respacing things, and add license
Diffstat (limited to 'assets/main.js')
-rw-r--r-- | assets/main.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/assets/main.js b/assets/main.js index 8cb611d..5cbcf89 100644 --- a/assets/main.js +++ b/assets/main.js @@ -21,9 +21,7 @@ document.addEventListener("DOMContentLoaded", () => { var cryptoDisplay = document.querySelector('#crypto-display'); var clearCryptoDisplay = () => { - while(cryptoDisplay.firstChild) { - cryptoDisplay.removeChild(cryptoDisplay.firstChild); - } + cryptoDisplay.innerHTML = ' '; }; console.log("setting up crypto buttons"); |