Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix issue #27, event handler removal failing.

  • Loading branch information...
commit c84dc8f97b595735ca956d8a391449ec1307c629 1 parent e6a315a
@koggdal authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/events.js
View
2  src/events.js
@@ -46,7 +46,7 @@
else {
index = handlers.indexOf(handler);
if (~index) {
- delete handlers[index];
+ handlers.splice(index, 1);
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.