Skip to content

Conversation

manuel-alvarez-alvarez
Copy link

Otherwise the container attribute is undefined and the listeners stay in the DOM.

@kevin-brown kevin-brown added this to the 4.0.1 milestone Nov 19, 2015
@kevin-brown
Copy link
Member

Didn't notice this before, and it hasn't been triggering any errors because we never use any properties on objects attached to container, we only use properties on it (which will return null).

Thanks for the pull request.

kevin-brown added a commit that referenced this pull request Nov 23, 2015
Add the decorator parameter to the handlers for the attach and detach of the dropdown
@kevin-brown kevin-brown merged commit 8763a87 into select2:master Nov 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants