Skip to content

Conversation

@anddoutoi
Copy link

A jQuery object keeps a reference to the "replaced" jQuery object in .prevObject when using .add() and .not(). This could result in a leek of memory cause detached and removed DOM elements will still be referenced.

…ative Array. The methods .add() and .not() creates a new jQuery object that keeps a reference to the old jQuery object in its property .prevObject.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant