Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in _removeModels: function(models, options) { #4257

Open
Joc-Ne opened this issue Apr 28, 2022 · 1 comment
Open

Bug in _removeModels: function(models, options) { #4257

Joc-Ne opened this issue Apr 28, 2022 · 1 comment
Labels

Comments

@Joc-Ne
Copy link

Joc-Ne commented Apr 28, 2022

var index = this.indexOf(model); returns always -1
var index = this.models.indexOf(model) returns the right result

@Joc-Ne Joc-Ne closed this as completed Apr 28, 2022
@Joc-Ne Joc-Ne reopened this Apr 28, 2022
@jgonggrijp
Copy link
Collaborator

@Joc-Ne Thanks for reporting. Could this be a duplicate of #3882 and if so, does upgrading to Backbone 1.4.1 solve the issue for you? Otherwise, please provide a bit more context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants