mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LHH3wPBsoruwCaJo8Rpf6a
809 B
809 B
TODO: innerHTML Migration for ShareNostrModal.js
- L107:
wrapper.innerHTML = html;(Template loading)- Strategy: Use
new DOMParser().parseFromString(html, 'text/html')and append children towrapper.
- Strategy: Use
- L274:
this.relayPills.innerHTML = "";(Clearing content)- Strategy:
this.relayPills.replaceChildren();ortextContent = ""(replaceChildren is preferred for performance).
- Strategy:
- L300:
removeButton.innerHTML = '<svg ...>...</svg>';(SVG Icon)- Strategy: Create SVG elements using
document.createElementNS("http://www.w3.org/2000/svg", "svg")and children.
- Strategy: Create SVG elements using
CLOSED 2026-07-30. All three migrations already landed in later refactors —
grep innerHTML js/ui/components/ShareNostrModal.js returns nothing and the
innerHTML lint baseline holds. Kept for the record.