MediaWiki:Common.js
From Reallusion Wiki!
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Clear the cache in Tools → Preferences
/* Any JavaScript here will be loaded for all users on every page load. */
$(document).ready( function() {
if (location.pathname.toLowerCase().indexOf('/ic_python_api')===0) {
var tree = $('#wikitext-sidebar');
$(tree).detach().appendTo("#mw-panel");
$(tree).show();
$(tree).bind('fancytreeinit', function(event, data) {
console.log(data);
data.tree.makeTitleVisible();
});
}
});