summaryrefslogtreecommitdiffstats
path: root/apps/files/js/detailsview.js
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2015-07-23 18:29:45 +0200
committerArthur Schiwon <blizzz@owncloud.com>2015-08-07 01:22:43 +0200
commitf508cf40da93eba05a17b4ffa834a125dbdb2bcb (patch)
treede8272b93088bf8a8e57871405790e6185a7e35f /apps/files/js/detailsview.js
parent734c6b0b6f10cb8cb39773e1c93088c24c9f50af (diff)
downloadnextcloud-server-f508cf40da93eba05a17b4ffa834a125dbdb2bcb.tar.gz
nextcloud-server-f508cf40da93eba05a17b4ffa834a125dbdb2bcb.zip
sidebar shall not overlap but shrink the contnet
Diffstat (limited to 'apps/files/js/detailsview.js')
-rw-r--r--apps/files/js/detailsview.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files/js/detailsview.js b/apps/files/js/detailsview.js
index d4495cd8dab..0cf4ade0767 100644
--- a/apps/files/js/detailsview.js
+++ b/apps/files/js/detailsview.js
@@ -80,7 +80,9 @@
this._detailFileInfoViews = [];
this.$el.on('click', 'a.close', function(event) {
- self.$el.addClass('disappear');
+ self.$el
+ .addClass('disappear')
+ .siblings('.with-sidebar').removeClass('with-sidebar');
event.preventDefault();
});