MediaWiki:Mobile.js: Difference between revisions

Jump to navigation Jump to search
No change in size ,  15:46, 9 January 2020
no edit summary
(Created page with "→‎Any JavaScript here will be loaded for users using the mobile site: if ($(".LeadingAndTrailingCells").length) { mw.loader.getScript('/w/index.php?title=MediaWiki:D3.v5.m...")
Tags: Mobile edit Mobile web edit
 
No edit summary
Tags: Mobile edit Mobile web edit
 
Line 8: Line 8:
if ($('[title="File:APLcart"]').length) {
if ($('[title="File:APLcart"]').length) {
$('[title="File:APLcart"]').replaceWith('<iframe src="https://aplcart.info?w" style="height:38vh;width:calc(100% - 4px)">');
$('[title="File:APLcart"]').replaceWith('<iframe src="https://aplcart.info?w" style="height:38vh;width:calc(100% - 4px)">');
$('.thumbinner').css('width','38vw');
$('.thumbinner').css('width','90vw');
}
}
if ($('[title="File:Ngn/apl"]').length) {
if ($('[title="File:Ngn/apl"]').length) {

Navigation menu