diff --git a/app.js b/app.js
index 44683d0..b9ad678 100644
--- a/app.js
+++ b/app.js
@@ -12,7 +12,6 @@ document.querySelector('.value-block').addEventListener('toggle', function() {
valueBlock.scrollIntoView({ behavior: "smooth" });
} else {
// Scroll to top of button list when value block is closed
- bodyTop.scrollIntoView({ behavior: "smooth" });
}
});
@@ -74,7 +73,6 @@ document.querySelector("#btc-qr-link a").addEventListener("click", function(){
// Display BTC QR code
if (document.contains(document.querySelector("#btc-js-qr"))) {
document.querySelector("#btc-js-qr").remove();
- valueBlock.scrollIntoView({ behavior: "smooth" });
} else {
document.querySelector("#btcwall").insertAdjacentHTML("afterend", "
");
document.querySelector("#btc-qr-link").scrollIntoView({ behavior: "smooth" });
@@ -93,7 +91,6 @@ document.querySelector("#eth-qr-link a").addEventListener("click", function(){
// Display ETH QR code
if (document.contains(document.querySelector("#eth-js-qr"))) {
document.querySelector("#eth-js-qr").remove();
- valueBlock.scrollIntoView({ behavior: "smooth" });
} else {
document.querySelector("#ethwall").insertAdjacentHTML("afterend", "
");
document.querySelector("#eth-qr-link").scrollIntoView({ behavior: "smooth" });
@@ -112,7 +109,6 @@ document.querySelector("#doge-qr-link a").addEventListener("click", function(){
// Display DOGE QR code
if (document.contains(document.querySelector("#doge-js-qr"))) {
document.querySelector("#doge-js-qr").remove();
- valueBlock.scrollIntoView({ behavior: "smooth" });
} else {
document.querySelector("#dogewall").insertAdjacentHTML("afterend", "
");
document.querySelector("#doge-qr-link").scrollIntoView({ behavior: "smooth" });