Difference between revisions of "MediaWiki:Mobile.js"

From TaticView
Jump to: navigation, search
Line 5: Line 5:
 
$(document).ready(function(){
 
$(document).ready(function(){
  
  $(".mf-section-1").addClass("open-block")
+
  $($(".mf-section-1")[0]).addClass("open-block")
  
  
 
})
 
})

Revision as of 16:47, 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")[0]).addClass("open-block")


})