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

Content deleted Content added
now actually move refs
notify if no change
Line 12:
if ( textbox )
{
var contentsoldContents = textbox.val();
var contents = oldContents;
// Escape ref tags.
Line 39 ⟶ 40:
}
);
if ( oldContents === contents )
{
mw.notify("No misplaced footnotes were found.");
}
textbox.val(contents);