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 13: Dòng 13:
}
}


// Zoomed text to left if overflow
var ttzoom = document.querySelectorAll('.ttzoom')
for (tt = 0; tt < ttzoom.length; tt++) {
    if (ttzoom[tt].getBoundingClientRect().right + 20 > window.innerWidth) {
        ttzoom[tt].style.left = '-800%'
    }


// Hide empty ruby text
// Hide empty ruby text
Dòng 28: Dòng 21:
     }
     }
}
}
// Zoomed text to left if overflow
var ttzoom = document.querySelectorAll('.ttzoom')
for (tt = 0; tt < ttzoom.length; tt++) {
    if (ttzoom[tt].getBoundingClientRect().right + 20 > window.innerWidth) {
        ttzoom[tt].style.left = '-800%'
    }


// Example columns
// Example columns