Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert "Fixed bug regarding removal of events in mootools adapter"

This reverts commit 47c86fe.
  • Loading branch information...
commit f429bb41a39279cfdf0598cd37900756866366de 1 parent 1c9985e
@eolsson eolsson authored
Showing with 2 additions and 7 deletions.
  1. +2 −7 js/adapters/mootools-adapter.src.js
View
9 js/adapters/mootools-adapter.src.js
@@ -196,13 +196,8 @@ win.HighchartsAdapter = {
type = 'beforeunload';
}
- if (defined(fn)) {
- el.removeEvent(type, fn);
- } else {
- el.removeEvents(type);
- }
- } else {
- el.removeEvents();
+
+ el.removeEvent(type, fn);
}
},
Please sign in to comment.
Something went wrong with that request. Please try again.