Skip to content

Commit

Permalink
fix bubble event
Browse files Browse the repository at this point in the history
  • Loading branch information
brianvoe committed Jun 18, 2024
1 parent 106970e commit 45a9282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slim-select/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ export default class Select {
}

// Trigger change event on original select
this.select.dispatchEvent(new Event('change'), { bubbles: true })
this.select.dispatchEvent(new Event('change', { bubbles: true }))

// Start listening to changes
this.changeListen(true)
Expand Down

0 comments on commit 45a9282

Please sign in to comment.