MediaWiki:Common.js: Difference between revisions
mNo edit summary Tag: Manual revert |
mNo edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
mw.loader.load( 'ext.cite.styles' ); | mw.loader.load( 'ext.cite.styles' ); | ||
$(function () { | |||
var indicators = document.querySelector('.mw-indicators'); | |||
var titlebar = document.querySelector('.vector-page-titlebar'); | |||
if (indicators && titlebar) { | |||
titlebar.appendChild(indicators); | |||
} | |||
}); | |||
/* Allows Template:Notice to be dismissable. */ | /* Allows Template:Notice to be dismissable. */ | ||