diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-09-02 16:23:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-02 16:23:55 +0200 |
commit | dbcac3943f43fd9739890c7cd852bc4d9529d608 (patch) | |
tree | 2446e4c36c3491f7aff393884618898eb9239ce5 /apps/files | |
parent | b1be4346cdf583864188e47055c3b1f336ad5587 (diff) | |
parent | d3e417efbf27002de27a150463e5c61cbf0d7dc6 (diff) | |
download | nextcloud-server-dbcac3943f43fd9739890c7cd852bc4d9529d608.tar.gz nextcloud-server-dbcac3943f43fd9739890c7cd852bc4d9529d608.zip |
Merge pull request #33814 from nextcloud/fix-sidebar
Diffstat (limited to 'apps/files')
-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') } }, |