This commit is contained in:
counterweight 2025-04-09 18:14:33 +02:00
parent 81a3a3d4b2
commit 2ca02bad80
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C

View file

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