Skip to content

function fireEvent_DOM throwing "element.dispatchEvent is not a function" #333

Open

Description

@DarkSnowy

Uncaught TypeError: element.dispatchEvent is not a function
at fireEvent_DOM (prototype.js:7141)
at fire (prototype.js:7130)
at HTMLDocument._methodized [as fire] (prototype.js:456)
at HTMLDocument.fireContentLoadedEvent (prototype.js:7317)

Prototype.js build version 1.7.3

event.js getFireTarget expects a HTMLElement. fire should not wrap element in JQuery object.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions