Difference between revisions of "MediaWiki:Edittools.js"

From Learning Languages Through Video Games
Jump to navigationJump to search
Line 4: Line 4:
  
 
addOnloadHook(function() {
 
addOnloadHook(function() {
     $j('#jp-fixer').append("<input type='submit' onclick='runJpFixer()' value='Tempt Fate' />");
+
     $j('#fixer-jp').append("<input type='submit' onclick='runJpFixer()' value='Tempt Fate' />");
 
});
 
});

Revision as of 22:29, 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()' value='Tempt Fate' />");
});