Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Prototype adapter: removeEvent doesn't remove all events #290

TorsteinHonsi opened this Issue · 1 comment

2 participants


Steps to reproduce:

  1. Open
  2. Click "Destroy"
  3. Drag middle bar to resize the demo iframe
  4. Errors are thrown because the resize event handler is not properly removed.

To fix it, set up a unit test on adding and removing events on window, DOM objects as well as Highcharts object. Test this with element parameter, element + event name and element + event name + handler.


Events on 'window' where mistaken for custom events and the wrong stopObserving method was used.

@eolsson eolsson closed this
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.