Content deleted Content added
beginning |
attempt to create a cleanup footnotes button |
||
Line 1:
{
var textbox = $("#wpTextbox1");▼
$("#editform").prepend('<div id="footnote-cleanup"><a href="javascript:cleanupFootnotes()">clean up footnotes</a></div>');
}
function cleanupFootnotes()
{
var namespaceNumber = mw.config.values.wgNamespaceNumber;
▲ var textbox = $("#wpTextbox1");
if ( textbox )
{
}
}
|