Skip to content

When using a button, infiniteScroll( 'destroy' ); throws an error. #719

@maimairel

Description

@maimairel

Here's a fork of your demo pen:

https://codepen.io/anon/pen/mBJeEV

this.element.removeEventListener( this.clickHandler );

should be

this.element.removeEventListener( 'click', this.clickHandler );

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions