「MediaWiki:Mobile.js」:修訂間的差異
跳至導覽
跳至搜尋
無編輯摘要 |
無編輯摘要 |
||
行 2: | 行 2: | ||
//Removes the current mfTempOpenSection function so we don't get console errors on heading clicks | //Removes the current mfTempOpenSection function so we don't get console errors on heading clicks | ||
$('.section-heading').prop('onclick',null); | |||
//Add a new function that changes the display parameter of the collapsible div associated to the clicked header | //Add a new function that changes the display parameter of the collapsible div associated to the clicked header | ||