diff --git a/BTCPayServer/Views/Stores/PayButton.cshtml b/BTCPayServer/Views/Stores/PayButton.cshtml
index e8badec7b..f9e01ce43 100644
--- a/BTCPayServer/Views/Stores/PayButton.cshtml
+++ b/BTCPayServer/Views/Stores/PayButton.cshtml
@@ -153,9 +153,11 @@
Preview
-
Link
-
Alternatively, you can share this link or encode it in a QR code
-
+
+
Link
+
Alternatively, you can share this link or encode it in a QR code
+
+
diff --git a/BTCPayServer/wwwroot/paybutton/paybutton.js b/BTCPayServer/wwwroot/paybutton/paybutton.js
index a826c06d6..cfce74a20 100644
--- a/BTCPayServer/wwwroot/paybutton/paybutton.js
+++ b/BTCPayServer/wwwroot/paybutton/paybutton.js
@@ -197,7 +197,7 @@ function inputChanges(event, buttonSize) {
}
});
url = url.href;
- $("#preview-link").append(`${url}`)
+ $("#preview-link").html(`${url}`)
$('pre code').each(function (i, block) {
hljs.highlightBlock(block);