মিডিয়াউইকি:Common.js: সংশোধিত সংস্করণের মধ্যে পার্থক্য
অবয়ব
সম্পাদনা সারাংশ নেই |
সম্পাদনা সারাংশ নেই ট্যাগ: পুনর্বহালকৃত |
||
১ নং লাইন: | ১ নং লাইন: | ||
/* 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.using('mediawiki.util').done(function () { | |||
if (window.matchMedia("(max-width: 768px)").matches) { | |||
var infobox = document.querySelector('.infobox'); | |||
var content = document.querySelector('.content'); | |||
if (infobox && content) { | |||
content.parentNode.insertBefore(content, infobox.nextSibling); | |||
} | |||
} | |||
}); |
০১:২৩, ২৭ ফেব্রুয়ারি ২০২৫ তারিখে সংশোধিত সংস্করণ
/* Any JavaScript here will be loaded for all users on every page load. */
mw.loader.using('mediawiki.util').done(function () {
if (window.matchMedia("(max-width: 768px)").matches) {
var infobox = document.querySelector('.infobox');
var content = document.querySelector('.content');
if (infobox && content) {
content.parentNode.insertBefore(content, infobox.nextSibling);
}
}
});