diff --git a/CHANGELOG b/CHANGELOG index 66ff7d3..6932d8d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -3,8 +3,9 @@ Revision history for Lufi ?.??.? ????-??-?? - Fix invitations sorting order (#163) - Same behavior on files and invitations tables (striped, invert selection - button) (#166) + button) (#166) - Change row color on hover + - Fix typo that leads to error in Safari (#164) 0.04.3 2019-09 29 - Translate dates in invitations (#161) diff --git a/themes/default/public/js/lufi-files.js b/themes/default/public/js/lufi-files.js index 65971e3..f4803dd 100644 --- a/themes/default/public/js/lufi-files.js +++ b/themes/default/public/js/lufi-files.js @@ -240,7 +240,7 @@ function populateFilesTable() { ''].join('')); $('#myfiles').append(tr); $('#del-'+element.short).on('click', delFile); - $('label[for="check-'+element.short+'"').on('click', function(){ + $('label[for="check-'+element.short+'"]').on('click', function(){ if ($('#check-'+element.short).attr('data-checked') && $('#check-'+element.short).attr('data-checked') === 'data-checked') { $('#check-'+element.short).attr('data-checked', null); } else {