diff --git a/src/front/pages/offers.js b/src/front/pages/offers.js index 4d92e5b..95ccde8 100644 --- a/src/front/pages/offers.js +++ b/src/front/pages/offers.js @@ -157,9 +157,6 @@ class CreateOfferModal { this.trustCheckboxes.render(); - breaksssssss(); - //Continue moving components up here - const otherDiv = document.createElement('div'); otherDiv.id = 'other-area'; otherDiv.className = 'create-offer-step'; @@ -168,6 +165,13 @@ class CreateOfferModal { otherDiv.appendChild(otherHeading); controls.appendChild(otherDiv); + this.bigNotesCheckbox = new BigNotesCheckbox({ + parentElement: otherDiv, + }); + + this.bigNotesCheckbox.render(); + //Continue moving components up here + const submitButtonArea = document.createElement('div'); submitButtonArea.classList.add('submit-button-area'); this.publishOfferButton = new PublishOfferButton({ @@ -195,12 +199,6 @@ class CreateOfferModal { modalRoot.appendChild(modal); this.parentElement.appendChild(this.element); - - this.bigNotesCheckbox = new BigNotesCheckbox({ - parentElement: document.getElementById('other-area'), - }); - - this.bigNotesCheckbox.render(); } toggle() {