diff --git a/src/index.js b/src/index.js index f64c3db..fc9d1db 100644 --- a/src/index.js +++ b/src/index.js @@ -171,7 +171,7 @@ export default class Checklist { } }, false); - this._elements.wrapper.addEventListener('click', (event) => { + this._elements.wrapper.querySelector('.cdx-checklist__item-checkbox').addEventListener('click', (event) => { this.toggleCheckbox(event); });