User:Luma.dash/common.js

if ($('.categories').children('li').length >= 56) { document.getElementById('articleCategories').style.backgroundSize = "160%"; } document.onreadystatechange = function { if (document.readyState == "interactive") { if ($('.categories').children('li').length >= 56 && $( "nav" ).hasClass( "article-categories CategorySelect articlePage userCanEdit editMode" )) { document.getElementById('articleCategories').style.backgroundSize = "180%"; } } }