Use a more specific selector for deletion checkboxes.
This commit is contained in:
parent
14f9424024
commit
e4d8f6d5c1
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue