diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-07-26 12:21:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-26 12:21:13 +0200 |
commit | b4353c46519ffc44c30eb258210911a044bbca41 (patch) | |
tree | a1e4c6299c8814139f5c4d0d27b782b22835e9f1 /apps/files_sharing/js/public.js | |
parent | 7615536977eda7f3bda5c29eaa780a323c97afc7 (diff) | |
parent | bb2557c38974bea38dcc48185723b33781412cbd (diff) | |
download | nextcloud-server-b4353c46519ffc44c30eb258210911a044bbca41.tar.gz nextcloud-server-b4353c46519ffc44c30eb258210911a044bbca41.zip |
Merge pull request #33320 from nextcloud/bugfix/noid/remove-files-duplicate-dom-ids
Replace files app ids to classes
Diffstat (limited to 'apps/files_sharing/js/public.js')
-rw-r--r-- | apps/files_sharing/js/public.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js index bfb035fb817..c08d72d6e05 100644 --- a/apps/files_sharing/js/public.js +++ b/apps/files_sharing/js/public.js @@ -60,7 +60,7 @@ OCA.Sharing.PublicApp = { } // file list mode ? - if ($el.find('#filestable').length) { + if ($el.find('.files-filestable').length) { var filesClient = new OC.Files.Client({ host: OC.getHost(), port: OC.getPort(), @@ -277,7 +277,7 @@ OCA.Sharing.PublicApp = { }; this.fileList.updateEmptyContent = function() { - this.$el.find('#emptycontent .uploadmessage').text( + this.$el.find('.emptycontent .uploadmessage').text( t('files_sharing', 'You can upload into this folder') ); OCA.Files.FileList.prototype.updateEmptyContent.apply(this, arguments); |