From f570de50864fbe0d38b557f29a584d39bd72b95f Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Sun, 23 Jun 2019 14:31:56 +0900 Subject: [PATCH] Fix payment button alignement --- BTCPayServer/wwwroot/paybutton/paybutton.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BTCPayServer/wwwroot/paybutton/paybutton.js b/BTCPayServer/wwwroot/paybutton/paybutton.js index eda819f62..2e816bcd1 100644 --- a/BTCPayServer/wwwroot/paybutton/paybutton.js +++ b/BTCPayServer/wwwroot/paybutton/paybutton.js @@ -61,7 +61,7 @@ function inputChanges(event, buttonSize) { html += addinput("price", srvModel.price); } else if (srvModel.buttonType == 1) { - html += '\n
'; + html += '\n
'; html += '
'; html += addPlusMinusButton("-"); html += addInputPrice(srvModel.price, widthInput, ""); @@ -71,7 +71,7 @@ function inputChanges(event, buttonSize) { html += '
'; } else if (srvModel.buttonType == 2) { - html += '\n
'; + html += '\n
'; html += addInputPrice(srvModel.price, width, 'onchange="document.querySelector(\'#btcpay-input-range\').value = document.querySelector(\'#btcpay-input-price\').value"'); html += addSelectCurrency(); html += addSlider(srvModel.price, srvModel.min, srvModel.max, srvModel.step, width);