diff options
author | Laria Carolin Chabowski <laria@laria.me> | 2020-02-18 20:49:27 +0100 |
---|---|---|
committer | Laria Carolin Chabowski <laria@laria.me> | 2020-02-18 20:49:27 +0100 |
commit | 4459d411e6cb923ea26a39649011b9bd006cdc33 (patch) | |
tree | 2417938634e3fa78de795aec3ecb62d0e19895d4 | |
parent | 71a15e08fc81d1461b53ec435f059ce3861ee0f3 (diff) | |
download | micropoly-4459d411e6cb923ea26a39649011b9bd006cdc33.tar.gz micropoly-4459d411e6cb923ea26a39649011b9bd006cdc33.tar.bz2 micropoly-4459d411e6cb923ea26a39649011b9bd006cdc33.zip |
Fix updateAttachmentDeletionClass for new file row
-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) { |