Skip to content
Browse files

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

  • Loading branch information...
1 parent 687d200 commit 260fcbaa0df72e4b09f397a886aeedf237aa423e @eolsson eolsson committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 js/adapters/prototype-adapter.src.js
View
2 js/adapters/prototype-adapter.src.js
@@ -170,6 +170,8 @@ return {
event = HighchartsAdapter.addNS(event);
}
$(el).stopObserving(event, handler);
+ } if (window == el) {
+ Event.stopObserving(el, event, handler);
} else {
HighchartsAdapter._extend(el);
el._highcharts_stop_observing(event, handler);

0 comments on commit 260fcba

Please sign in to comment.
Something went wrong with that request. Please try again.