More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* All JavaScript here will be loaded for users of the Citizen skin */ | /* All JavaScript here will be loaded for users of the Citizen skin */ | ||
mw.hook('wikipage.content').add(function() { | |||
if (window.innerWidth >= 768) { // Only on desktop | if (window.innerWidth >= 768) { // Only on desktop | ||
const idsToCollapse = [ | const idsToCollapse = [ | ||