MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
Created page with "→Any JavaScript here will be loaded for all users on every page load.: $( document ).ready( function () { var host = document.querySelector('body > div:last-of-type') var style = document.createElement( "style" ); style.innerHTML = ".bee-sticker-panel{ width: 480px !important; } .bee-sticker-editor { font-size: 24px !important; }"; host.shadowRoot.appendChild( style ); });" |
No edit summary |
||
Line 3: | Line 3: | ||
$( document ).ready( function () { | $( document ).ready( function () { | ||
/* | |||
var host = document.querySelector('body > div:last-of-type') | var host = document.querySelector('body > div:last-of-type') | ||
var style = document.createElement( "style" ); | var style = document.createElement( "style" ); | ||
style.innerHTML = ".bee-sticker-panel{ width: 480px !important; } .bee-sticker-editor { font-size: 24px !important; }"; | style.innerHTML = ".bee-sticker-panel{ width: 480px !important; } .bee-sticker-editor { font-size: 24px !important; }"; | ||
host.shadowRoot.appendChild( style ); | host.shadowRoot.appendChild( style ); | ||
*/ | |||
}); | }); |
Latest revision as of 17:21, 25 February 2023
/* Any JavaScript here will be loaded for all users on every page load. */
$( document ).ready( function () {
/*
var host = document.querySelector('body > div:last-of-type')
var style = document.createElement( "style" );
style.innerHTML = ".bee-sticker-panel{ width: 480px !important; } .bee-sticker-editor { font-size: 24px !important; }";
host.shadowRoot.appendChild( style );
*/
});