Skip to content

remove element does not work #89

@zxpan

Description

@zxpan

I did not verify closely, but I think this part of code is wrong in case an element is removed from the collecition:
103 e = removeSlide(e, collection.indexOf(e));

Should 'collection" be "oldCollection"? as the element e already removed from the new collection, so collection.indexOf(e) alway return -1. what's the point.

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