Anonymous

MediaWiki:Common.js: Difference between revisions

From Elwiki
no edit summary
No edit summary
No edit summary
Line 346: Line 346:
$('.current-info .segment-contents > .mw-collapsible-content').css({height: 'auto', overflow: 'initial'});
$('.current-info .segment-contents > .mw-collapsible-content').css({height: 'auto', overflow: 'initial'});


if (character_banner_exists !== undefined && character_banner_exists) mw.loader.load('https://elwiki.net/wiki/index.php?title=MediaWiki:Character-Banner.js&action=raw&ctype=text/javascript');
if (typeof character_banner_exists !== undefined) mw.loader.load('https://elwiki.net/wiki/index.php?title=MediaWiki:Character-Banner.js&action=raw&ctype=text/javascript');


$('.dungeon-map .region-map').prepend('<div class="tabber-list-toggle"><img src="https://elwiki.net/wiki/images/7/7c/UI_-_Toggle.png"/></div>');
$('.dungeon-map .region-map').prepend('<div class="tabber-list-toggle"><img src="https://elwiki.net/wiki/images/7/7c/UI_-_Toggle.png"/></div>');