MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 3: | Line 3: | ||
$(document).ready( function() { | $(document).ready( function() { | ||
let tree = $('#wikitext-sidebar'); | let tree = $('#wikitext-sidebar'); | ||
$('#p- | $('#p-navigation').after( tree.html() ); | ||
tree.remove(); | tree.remove(); | ||
}); | }); | ||
alert('test'); | alert('test'); |
Revision as of 14:32, 14 November 2022
/* Any JavaScript here will be loaded for all users on every page load. */ $(document).ready( function() { let tree = $('#wikitext-sidebar'); $('#p-navigation').after( tree.html() ); tree.remove(); }); alert('test');