toodego: collapse services sections by default on mobiles (#24741)
This commit is contained in:
parent
958be291d1
commit
562905bac6
|
@ -411,6 +411,11 @@ $(function() {
|
|||
$(this).addClass('closed');
|
||||
}
|
||||
});
|
||||
/* collapse services sections by default on mobiles */
|
||||
var mql = window.matchMedia("screen and (max-width: 480px)");
|
||||
if (mql.matches) {
|
||||
$('div.group-title').trigger('click');
|
||||
}
|
||||
|
||||
/* add service count labels */
|
||||
if ($('.dashboardcell').length == 0) {
|
||||
|
|
Loading…
Reference in New Issue