MediaWiki:Mobile.js: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
}, 4000); | }, 4000); | ||
}); | }); | ||
alert('Mobile.js is working!'); | |||
console.log("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@") | console.log("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@") | ||
Revision as of 23:09, 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);
});
alert('Mobile.js is working!');
console.log("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@")