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, 4 insertions, 0 deletions
diff --git a/apps/files/js/detailsview.js b/apps/files/js/detailsview.js
index 7e2a5f0e8a9..1d33987cd59 100644
--- a/apps/files/js/detailsview.js
+++ b/apps/files/js/detailsview.js
@@ -117,6 +117,10 @@
* Renders this details view
*/
render: function() {
+ // remove old instances
+ $('#app-sidebar').remove();
+ this.$el.insertAfter($('#app-content'));
+
var templateVars = {
closeLabel: t('files', 'Close')
};