diff options
-rw-r--r-- | apps/files/js/filelist.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 65d26545412..213d65cdad0 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -2780,8 +2780,9 @@ var permissions = this.getDirectoryPermissions(); var isCreatable = (permissions & OC.PERMISSION_CREATE) !== 0; this.$el.find('#emptycontent').toggleClass('hidden', !this.isEmpty); + this.$el.find('#emptycontent').toggleClass('hidden', !this.isEmpty); this.$el.find('#emptycontent .uploadmessage').toggleClass('hidden', !isCreatable || !this.isEmpty); - this.$el.find('#filestable thead th').toggleClass('hidden', this.isEmpty); + this.$el.find('#filestable').toggleClass('hidden', this.isEmpty); }, /** * Shows the loading mask. |