diff --git a/public/js/plugin-download.js b/public/js/plugin-download.js index 18a5be1..ebdb680 100644 --- a/public/js/plugin-download.js +++ b/public/js/plugin-download.js @@ -146,17 +146,17 @@ const component = () => { } }, selectAll() { - $('tbody > tr').each((i, e) => { + $('tbody#selectable > tr').each((i, e) => { $(e).addClass('ui-selected'); }); }, clearSelection() { - $('tbody > tr').each((i, e) => { + $('tbody#selectable > tr').each((i, e) => { $(e).removeClass('ui-selected'); }); }, download() { - const selected = $('tbody > tr.ui-selected').get(); + const selected = $('tbody#selectable > tr.ui-selected').get(); if (selected.length === 0) return; UIkit.modal