Skip to content

Destroy - Can actually create a slimScroller #87

@robly

Description

@robly

You should place a check at line 152 in-case 'destroy' is passed in as an option so that it will not accidentally create a new slimScroller if one does not already exist.

Example: If you call slimScroll({destroy: true}); 2x it will create the scroller using the default values.

There might be a better place to put it, but that seems reasonable to me glancing at it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions