diff options
Diffstat (limited to 'apps/files/src/views/Sidebar.vue')
-rw-r--r-- | apps/files/src/views/Sidebar.vue | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/files/src/views/Sidebar.vue b/apps/files/src/views/Sidebar.vue index 88c4fda4f5d..78713bdd5c6 100644 --- a/apps/files/src/views/Sidebar.vue +++ b/apps/files/src/views/Sidebar.vue @@ -461,9 +461,11 @@ export default { setFullScreenMode(isFullScreen) { this.isFullScreen = isFullScreen if (isFullScreen) { - document.querySelector('#content').classList.add('with-sidebar--full') + document.querySelector('#content')?.classList.add('with-sidebar--full') + || document.querySelector('#content-vue')?.classList.add('with-sidebar--full') } else { - document.querySelector('#content').classList.remove('with-sidebar--full') + document.querySelector('#content')?.classList.remove('with-sidebar--full') + || document.querySelector('#content-vue')?.classList.remove('with-sidebar--full') } }, |