aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/detailsview.js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-26 16:47:16 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-07-20 23:37:00 +0200
commitd6b718584e8aff74a0e76f77d2c1c5689f78cc78 (patch)
tree6f4322460b0d6e11257e59350308f8ad5e9a40b1 /apps/files/js/detailsview.js
parent842583038bb54c2787fb7a2d5ebd84a2fec849fd (diff)
downloadnextcloud-server-d6b718584e8aff74a0e76f77d2c1c5689f78cc78.tar.gz
nextcloud-server-d6b718584e8aff74a0e76f77d2c1c5689f78cc78.zip
Sidebar fix
Fix sidebar and scrollbar on content Sidebar fixes, and sidebar-width + header-height variables Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
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')
};