Skip to content


Subversion checkout URL

You can clone with
Download ZIP


document event listeners are not removed when destroying a StickyWin #71

wmwong opened this Issue · 1 comment

2 participants


Didn't realize bugs are here now.
Copy of bug #120 from

What steps will reproduce the problem?
1. Load the attached HTML file. You should see 'hello world'.
2. Click on the document.
3. An alert saying 'destroy' should show up.
4. 'hello world' should disappear and the StickyWin destroyed.
5. Click on the document again.

What is the expected output? What do you see instead?
After the StickyWin is destroyed, clicking on the document should no longer trigger the alert. Instead, the event listeners stay around and are not removed.

Please provide any additional information below.
To fix this, a call to "this.attach( false );" can be added to the #destroy function of StickyWin before the event is fired. This will remove the event listeners from the document.


Should be fixed in 3.0.x !?!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.