Difference between revisions of "MediaWiki:Mobile.js"
Line 6: | Line 6: | ||
$(".mf-section-1").addClass("open-block") | $(".mf-section-1").addClass("open-block") | ||
− | $($(".mw-parser-output .section-heading")[0]).children("div").remove() | + | $($(".mw-parser-output .section-heading")[0]).children("div").remove() |
}) | }) |
Revision as of 13:42, 21 January 2019
/* Any JavaScript here will be loaded for users using the mobile site */ mw.loader.using('mobile.site.styles') $(document).ready(function(){ $(".mf-section-1").addClass("open-block") $($(".mw-parser-output .section-heading")[0]).children("div").remove() })