"МедиаВики:Common.js"-ны өөр хувилбарууд

no edit summary
No edit summary
No edit summary
14-р мөр: 14-р мөр:
         try {
         try {
var thumbs = document.querySelectorAll(".thumbinner");
var thumbs = document.querySelectorAll(".thumbinner");
console.log(thumbs);
thumbs.forEach(function(thumb) {thumb.style.height = thumb.querySelector("img").height || 200 + "px"});
thumbs.forEach(function(thumb) {thumb.style.height = thumb.querySelector("img").height || 200 + "px"});