MediaWiki:Mobile.js: Difference between revisions
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 |
||
(7 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
$('.navbox | setTimeout(function() { | ||
$('.navbox td').each(function() { | |||
var $navbox = $(this); | |||
if ($navbox[0].style != undefined) { $navbox[0].style.removeProperty("width"); } | |||
}); | }); | ||
}, 4000); | |||
}); | }); |
Latest revision as of 23:10, 21 October 2024
/* All JavaScript here will be loaded for users of the mobile site */ $(document).ready(function() { setTimeout(function() { $('.navbox td').each(function() { var $navbox = $(this); if ($navbox[0].style != undefined) { $navbox[0].style.removeProperty("width"); } }); }, 4000); });