MediaWiki:Mobile.js: Difference between revisions

From Clicklaw Wikibooks
Jump to navigation Jump to search
(Created page with "→‎All JavaScript here will be loaded for users of the mobile site: $(document).ready(function() { $('.navbox .navbox-group td').each(function() { var $navbox = $(this); $navbox.style.removeProperty('width'); }); });")
 
No edit summary
Line 2: Line 2:


$(document).ready(function() {
$(document).ready(function() {
     $('.navbox .navbox-group td').each(function() {
     $('.navbox td').each(function() {
         var $navbox = $(this);
         var $navbox = $(this);
         $navbox.style.removeProperty('width');
         $navbox.style.removeProperty('width');
     });
     });
});
});

Revision as of 21:44, 21 October 2024

/* All JavaScript here will be loaded for users of the mobile site */

$(document).ready(function() {
    $('.navbox td').each(function() {
        var $navbox = $(this);
        $navbox.style.removeProperty('width');
    });
});