Skip to content

Commit 3e9e4d9

Browse files
committed
Add bubbles back
1 parent 59b7117 commit 3e9e4d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/task-lists-element.js

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export default class TaskListsElement extends HTMLElement {
1515

1616
this.dispatchEvent(
1717
new CustomEvent('task-lists-check', {
18+
bubbles: true,
1819
detail: {
1920
position: position(checkbox),
2021
checked: checkbox.checked
@@ -207,6 +208,7 @@ function onSorted({src, dst}) {
207208

208209
container.dispatchEvent(
209210
new CustomEvent('task-lists-move', {
211+
bubbles: true,
210212
detail: {
211213
src: [lists.indexOf(src.list), src.index],
212214
dst: [lists.indexOf(dst.list), dst.index]

0 commit comments

Comments
 (0)