MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
200 bytes added ,  09:05, 25 June 2021
no edit summary
No edit summary
No edit summary
Line 12: Line 12:
if ($('[title="File:Ngn/apl"]').length) {
if ($('[title="File:Ngn/apl"]').length) {
$('[title="File:Ngn/apl"]').replaceWith('<iframe src="https://abrudz.github.io/ngn-apl/web/" style="height:350px;width:calc(100% - 4px)">');
$('[title="File:Ngn/apl"]').replaceWith('<iframe src="https://abrudz.github.io/ngn-apl/web/" style="height:350px;width:calc(100% - 4px)">');
$('.thumbinner').css('width','');
}
if ($('[title="File:TryAPL"]').length) {
$('[title="File:TryAPL"]').replaceWith('<iframe src="https://tryapl.org" style="height:350px;width:calc(100% - 4px)">');
$('.thumbinner').css('width','');
$('.thumbinner').css('width','');
}
}

Navigation menu