summaryrefslogtreecommitdiffstats
path: root/apps/files/js/detailsview.js
diff options
context:
space:
mode:
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();
});