Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cleanup

  • Loading branch information...
commit 78b4d164268bfcbf3cce03e6938891e826daf584 1 parent b54cfc4
@Eskat0n authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 mutabor.js
View
4 mutabor.js
@@ -1,7 +1,7 @@
window.mutabor = (function () {
var _interceptors = [],
_registerInterceptor = function (type, handler) {
- window.document.addEventListener(type, handler)
+ document.addEventListener(type, handler)
_interceptors.push({
'type': type,
'handler': handler
@@ -73,7 +73,7 @@ window.mutabor = (function () {
reset: function () {
_interceptors.forEach(function (f) {
- window.document.removeEventListener(f.type, f.handler)
+ document.removeEventListener(f.type, f.handler)
})
_interceptors = []
}
Please sign in to comment.
Something went wrong with that request. Please try again.