Khác biệt giữa bản sửa đổi của “MediaWiki:Common.js”

Không có tóm lược sửa đổi
Không có tóm lược sửa đổi
Dòng 16: Dòng 16:
var ttzoom = document.querySelectorAll('.ttzoom')
var ttzoom = document.querySelectorAll('.ttzoom')
for (tt = 0; tt < ttzoom.length; tt++) {
for (tt = 0; tt < ttzoom.length; tt++) {
     if (ttzoom[tt].getBoundingClientRect().right + 50 > window.innerWidth) {
     if (ttzoom[tt].getBoundingClientRect().right + 20 > window.innerWidth) {
         ttzoom[tt].style.left = '-800%'
         ttzoom[tt].style.left = '-800%'
     }
     }