Difference between revisions of "MediaWiki: Common.js"
From Terracoin Wiki
(Created page with "→Any JavaScript here will be loaded for all users on every page load.: $(document).ready( function() { var tree = $('#wikitext-sidebar'); $('#p-logo').after( tree.html...") |
(Blanked the page) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | /* Any JavaScript here will be loaded for all users on every page load. */ |
||
− | $(document).ready( function() { |
||
− | var tree = $('#wikitext-sidebar'); |
||
− | $('#p-logo').after( tree.html() ); |
||
− | tree.remove(); |
||
− | }); |
||
− | |||
− | $(document).ready( function() { |
||
− | $('#tree').bind('fancytreeinit', function(event, data) { |
||
− | data.tree.makeTitleVisible(); |
||
− | }); |
||
− | }); |