No need to listen for resize as matchMedia() is used now

This commit is contained in:
the-djmaze 2023-02-23 14:35:13 +01:00
parent 57f497cf63
commit 6af13255f2
2 changed files with 1 additions and 1 deletions

View file

@ -102,5 +102,6 @@ addSubscribablesTo(ThemeStore, {
isMobile.onchange = e => {
ThemeStore.isMobile(e.matches);
$htmlCL.toggle('rl-mobile', e.matches);
leftPanelDisabled(e.matches);
};
isMobile.onchange(isMobile);