aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/src
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-07-22 16:11:01 +0200
committerVincent Petry <vincent@nextcloud.com>2022-07-26 10:19:19 +0200
commitbb2557c38974bea38dcc48185723b33781412cbd (patch)
treec44ba38e9283120d290bb242f9ddf46231d8464d /apps/files_trashbin/src
parenta9c23e1afbda3de62c3436b667bbb1053f426af5 (diff)
downloadnextcloud-server-bb2557c38974bea38dcc48185723b33781412cbd.tar.gz
nextcloud-server-bb2557c38974bea38dcc48185723b33781412cbd.zip
Replace files app ids to classes
Replaced ids to classes for the following: - #filestable -> .files-filestable - #fileList -> .files-fileList - #controls -> .files-controls - #emptycontent -> .emptyfilelist.emptycontent Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/files_trashbin/src')
-rw-r--r--apps/files_trashbin/src/filelist.js6
-rw-r--r--apps/files_trashbin/src/trash.scss2
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_trashbin/src/filelist.js b/apps/files_trashbin/src/filelist.js
index c1bf1b280ca..7fb55d4b932 100644
--- a/apps/files_trashbin/src/filelist.js
+++ b/apps/files_trashbin/src/filelist.js
@@ -54,7 +54,7 @@
* @augments OCA.Files.FileList
* @classdesc List of deleted files
*
- * @param $el container element with existing markup for the #controls
+ * @param $el container element with existing markup for the .files-controls
* and a table
* @param [options] map of options
*/
@@ -160,8 +160,8 @@
updateEmptyContent: function() {
var exists = this.$fileList.find('tr:first').exists()
- this.$el.find('#emptycontent').toggleClass('hidden', exists)
- this.$el.find('#filestable th').toggleClass('hidden', !exists)
+ this.$el.find('.emptyfilelist.emptycontent').toggleClass('hidden', exists)
+ this.$el.find('.files-filestable th').toggleClass('hidden', !exists)
},
_removeCallback: function(files) {
diff --git a/apps/files_trashbin/src/trash.scss b/apps/files_trashbin/src/trash.scss
index 2ed57b51918..633107c9d6d 100644
--- a/apps/files_trashbin/src/trash.scss
+++ b/apps/files_trashbin/src/trash.scss
@@ -16,7 +16,7 @@
#app-content-trashbin .summary :last-child {
padding: 0;
}
-#app-content-trashbin #filestable .summary .filesize {
+#app-content-trashbin .files-filestable .summary .filesize {
display: none;
}