5,361
edits
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for users of the mobile site */ | /* Any JavaScript here will be loaded for users of the mobile site */ | ||
/* Expand section when only one */ | |||
$(function() { | |||
setTimeout(function() { | |||
if ($('.collapsible-heading').length === 1) | |||
$('.collapsible-heading:not(.open-block)').click(); | |||
}, 100); | |||
}); | |||
/* Collapse boxes on smaller devices */ | /* Collapse boxes on smaller devices */ |