MediaWiki:Mobile.js:修订间差异

添加180字节 、​ 2024年4月21日 (星期日)
无编辑摘要
无编辑摘要
无编辑摘要
第1行: 第1行:
/* 这里的任何JavaScript将为使用移动版网站的用户加载 */
/* 这里的任何JavaScript将为使用移动版网站的用户加载 */
/* 由[[esg:用户:耀武扬威]]复制自萌百Mobile.js */
/* 由[[esg:用户:耀武扬威]]复制自萌百Mobile.js */
//Template:隐藏
//Template:隐藏
第7行: 第8行:
         $('.mw-collapsible').makeCollapsible();
         $('.mw-collapsible').makeCollapsible();
     });
     });
/* 分栏后章节折叠失效 */
if ($('body').hasClass('page-Main_Page')) {
    $('ul').wrap('<section></section>')
    $('h2').addClass('section-heading').unwrap().unwrap()
}