diff options
-rw-r--r-- | assets/interactive.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/interactive.js b/assets/interactive.js index 404cc26..39535b5 100644 --- a/assets/interactive.js +++ b/assets/interactive.js @@ -293,7 +293,7 @@ $(function () { function updateAttachmentDeletionClass(tr) { tr = $(tr); - tr.toggleClass("delete", tr.find(".attachment-delete-checkbox")[0].checked); + tr.toggleClass("delete", tr.find(".attachment-delete-checkbox").eq(0).prop("checked")); } function attachmentDeleteCheckbox(tr) { |