MediaWiki: Common.js

From Terracoin Wiki
Revision as of 21:50, 25 January 2018 by TheSin (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
/* 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();
    });
});