summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files_trashbin/js/filelist.js4
-rw-r--r--core/css/styles.css1
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/files_trashbin/js/filelist.js b/apps/files_trashbin/js/filelist.js
index febe3a45be3..6b624e333a0 100644
--- a/apps/files_trashbin/js/filelist.js
+++ b/apps/files_trashbin/js/filelist.js
@@ -268,12 +268,12 @@
enableActions: function() {
this.$el.find('.action').css('display', 'inline');
- this.$el.find(':input:checkbox').css('display', 'inline');
+ this.$el.find('input:checkbox').removeClass('u-hidden');
},
disableActions: function() {
this.$el.find('.action').css('display', 'none');
- this.$el.find(':input:checkbox').css('display', 'none');
+ this.$el.find('input:checkbox').addClass('u-hidden');
},
updateStorageStatistics: function() {
diff --git a/core/css/styles.css b/core/css/styles.css
index d952a33c24a..c0da29b71ca 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -183,6 +183,7 @@ html:not(.ie8) input[type="checkbox"].checkbox + label:before {
html:not(.ie8) input[type="checkbox"].checkbox:disabled +label:before { opacity: .6; }
html:not(.ie8) input[type="checkbox"].checkbox.u-left +label:before { float: left; }
+html:not(.ie8) input[type="checkbox"].checkbox.u-hidden + label:before { display: none; }
html:not(.ie8) input[type="checkbox"].checkbox--white + label:before {
background-image: url('../img/actions/checkbox-white.svg');