Difference between revisions of "MediaWiki:Edittools.js"
From Learning Languages Through Video Games
Jump to navigationJump to searchLine 4: | Line 4: | ||
addOnloadHook(function() { | addOnloadHook(function() { | ||
− | $j('#fixer-jp').append("<input type='submit' onclick='runJpFixer()' value='Tempt Fate' />"); | + | $j('#fixer-jp').append("<input type='submit' onclick='runJpFixer(); return false' value='Tempt Fate' />"); |
}); | }); |
Revision as of 22:30, 19 October 2010
function runJpFixer() { alert("Hey, what's your problem? I said this stuff isn't working yet!"); } addOnloadHook(function() { $j('#fixer-jp').append("<input type='submit' onclick='runJpFixer(); return false' value='Tempt Fate' />"); });