Skip to content

Commit

Permalink
fix: :load event not running
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenrui committed Feb 19, 2024
1 parent ec88dca commit 1d0892b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/entity/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ export class Events {
const keyEvents = []

Array.from(this.base.element.attributes).forEach((attr) => {
if (attr.name === ':load') return
if (!Events.isValidEvent(attr.name)) return

const isKeyEvent = Events.CUSTOM_KEY_EVENTS.some(
Expand Down

0 comments on commit 1d0892b

Please sign in to comment.