MediaWiki:Mobile.js: Difference between revisions

From Clicklaw Wikibooks
Jump to navigation Jump to search
No edit summary
Tag: Reverted
(Undo revision 59627 by Admin (talk))
Tag: Undo
Line 1: Line 1:
/* All JavaScript here will be loaded for users of the mobile site */
/* All JavaScript here will be loaded for users of the mobile site */


$('.navbox td').each(function() {
$(document).ready(function() {
  var $navbox = $(this);
    $('.navbox td').each(function() {
  if ($navbox[0].style != undefined) { $navbox[0].style.removeProperty("width"); }
        var $navbox = $(this);
        $navbox.style.removeProperty('width');
    });
});
});

Revision as of 22:43, 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');
    });
});