Difference between revisions of "MediaWiki:Mobile.js"

From TaticView
Jump to: navigation, search
Line 6: Line 6:
 
   
 
   
 
  $("#content-collapsible-block-0").addClass("open-block");
 
  $("#content-collapsible-block-0").addClass("open-block");
$(".mw-parser-output > h2").first().off("click")
+
// $(".mw-parser-output > h2").first().off("click")
  
  
 
})
 
})

Revision as of 12:26, 22 January 2019

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

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

$(document).ready(function(){
 
 $("#content-collapsible-block-0").addClass("open-block");
// $(".mw-parser-output > h2").first().off("click")


})