MediaWiki:Mobile.js: Difference between revisions
Jump to navigation
Jump to search
Tag: Undo |
No edit summary |
||
Line 2: | Line 2: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
$('.navbox td').each(function() { | |||
var $navbox = $(this); | |||
if ($navbox[0].style != undefined) { $navbox[0].style.removeProperty("width"); } | |||
}); | |||
}); | }); |
Revision as of 22: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); if ($navbox[0].style != undefined) { $navbox[0].style.removeProperty("width"); } }); });