Difference between revisions of "MediaWiki:Mobile.js"

From TaticView
Jump to: navigation, search
Line 4: Line 4:
  
 
$(".mf-section-1").addClass("open-block")
 
$(".mf-section-1").addClass("open-block")
 +
$($(".mw-parser-output .section-heading")[0]).children("div").remove();

Revision as of 13:40, 21 January 2019

/* Any JavaScript here will be loaded for users using the mobile site */

mw.loader.using('mobile.site.styles')

$(".mf-section-1").addClass("open-block")
$($(".mw-parser-output .section-heading")[0]).children("div").remove();