Skip to content

loading button dispose calls undefined method #564

@dirkpeters

Description

@dirkpeters

We've been having js errors while using the loadingbutton; a function called 'removeData' is called, but is not defined. When looking at the code in loading-button.js, we see the following snippet.

dispose() {
    Data.removeData(this._element, DATA_KEY)
    this._element = null
  }

Data (from dom/data.js) does not define 'removeData', it does define 'remove'.

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