Use a more specific selector for deletion checkboxes.

This commit is contained in:
Daru13 2020-09-24 18:00:33 +02:00
parent 14f9424024
commit e4d8f6d5c1

View file

@ -9,7 +9,7 @@ class SubEntry {
this.subEntryElement = subEntryElement;
this.removeButtonElement = subEntryElement.querySelector(".remove-button");
this.deletionCheckboxElement = subEntryElement.querySelector("input[type=checkbox]");
this.deletionCheckboxElement = subEntryElement.querySelector("input[id$='DELETE']");
this.addPlaceholderAttributes();
this.startHandlingSubEntryRemoveButtonClicks();