Jump to content

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

no edit summary
No edit summary
No edit summary
16-р мөр: 16-р мөр:
console.log(thumbs);
console.log(thumbs);
for (var i = 0; i < thumbs.length; i++){
for (var i = 0; i < thumbs.length; i++){
thumbs[i].style.height = thumbs[i].querySelector("img").height || 200 + "px"}
console.log(i);
thumbs[i].style.height = (thumbs[i].querySelector("img").height || 200) + "px"}
}
}