MediaWiki:Mobile.js: Difference between revisions
Appearance
Created page with "→All JavaScript here will be loaded for users of the mobile site: $(document).ready(function() { if (mw.config.get('skin') === 'minerva') { // Minerva is the default mobile skin $('<div class="mobile-banner">📢 Special message for mobile users!</div>') .prependTo('.mw-body'); } });" |
No edit summary Tags: Mobile edit Mobile web edit |
||
(One intermediate revision by the same user not shown) | |||
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 */ | ||