aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2020-02-18 20:49:27 +0100
committerLaria Carolin Chabowski <laria@laria.me>2020-02-18 20:49:27 +0100
commit4459d411e6cb923ea26a39649011b9bd006cdc33 (patch)
tree2417938634e3fa78de795aec3ecb62d0e19895d4 /assets
parent71a15e08fc81d1461b53ec435f059ce3861ee0f3 (diff)
downloadmicropoly-4459d411e6cb923ea26a39649011b9bd006cdc33.tar.gz
micropoly-4459d411e6cb923ea26a39649011b9bd006cdc33.tar.bz2
micropoly-4459d411e6cb923ea26a39649011b9bd006cdc33.zip
Fix updateAttachmentDeletionClass for new file row
Diffstat (limited to 'assets')
-rw-r--r--assets/interactive.js2
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) {