]> git.ktnx.net Git - lsl.git/commitdiff
dismiss the mass-action button after performing the action
authorDamyan Ivanov <dmn@debian.org>
Mon, 7 Mar 2022 21:37:15 +0000 (21:37 +0000)
committerDamyan Ivanov <dmn@debian.org>
Mon, 7 Mar 2022 21:37:15 +0000 (21:37 +0000)
public/javascripts/lsl.js

index bb9778e6e73b354cea06b1e516dac8134c03239c..ca3cc7acbf8894d9d9fdbc7b6f94a45f93f8043c 100644 (file)
@@ -500,10 +500,12 @@ $(function(){
     $(window).on('resize', () => { reposition_item_multi_action(); });
     $('#btn-check-all').click((ev) => {
         $('#list-items input[type="checkbox"]').not(':checked').prop('checked', true).trigger('change');
+        $('#item-multi-action').removeClass('in-view');
         return false;
     });
     $('#btn-clear-all').click((ev) => {
         $('#list-items input[type="checkbox"]').filter(':checked').prop('checked', false).trigger('change');
+        $('#item-multi-action').removeClass('in-view');
         return false;
     });
 });