User:Erutuon/scripts/footnoteCleanup.js: Difference between revisions

Content deleted Content added
change button label
oops
Line 16:
$("#wikitext-cleanup-button-wrapper")
.append(`<div id="footnote-cleanup" class="wikitext-cleanup-button">clean up footnotes</div>`)
$("#footnote-cleanup")
.click(cleanupFootnotescleanUpFootnotes);
}
 
function cleanupFootnotescleanUpFootnotes()
{
var textbox = $("#wpTextbox1");