diff --git a/src/front/components/BitcoinMethodCheckboxes.js b/src/front/components/BitcoinMethodCheckboxes.js index 01c0743..27cb3f8 100644 --- a/src/front/components/BitcoinMethodCheckboxes.js +++ b/src/front/components/BitcoinMethodCheckboxes.js @@ -34,15 +34,12 @@ class BitcoinMethodCheckboxes { this.parentElement.appendChild(this.lightningContainer); } - buildCheckbox({ id, label }) { + buildCheckbox({ label }) { const checkboxContainer = document.createElement('div'); checkboxContainer.className = 'checkbox-row'; - checkboxContainer.id = `${id}-checkbox-area`; const checkbox = document.createElement('input'); checkbox.type = 'checkbox'; - checkbox.name = id; - checkbox.id = `${id}-checkbox`; checkbox.checked = true; const labelElement = document.createElement('label'); @@ -60,7 +57,6 @@ class BitcoinMethodCheckboxes { this.onchainCheckboxElement, this.lightningCheckboxElement, ].filter((cb) => cb.checked).length; - console.log(checkedCount); if (checkedCount === 0) { clickedCheckbox.checked = true; } diff --git a/src/front/pages/offers.js b/src/front/pages/offers.js index 42475c6..c31f6f1 100644 --- a/src/front/pages/offers.js +++ b/src/front/pages/offers.js @@ -171,7 +171,6 @@ class CreateOfferModal { onClickCallback: async () => { await this.createOffer(); await this.onCreationCallback(); - await this.toggleOfferCreatedAlert(); }, }); this.publishOfferButton.render();