Skip to content

Commit

Permalink
Fix small errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Silex committed May 13, 2019
1 parent 4c98c9b commit d5c2595
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion juxtapose/js/juxtapose.js
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@
e = e || window.event;
e.preventDefault();
e.stopPropagation();
self.updateSlider(event, false);
self.updateSlider(e, false);
});

});
Expand Down Expand Up @@ -750,6 +750,7 @@
return this.detachEvent("on" + type, registry.splice(index, 1)[0][3]);
}
}
return null;
};

WindowPrototype[dispatchEvent] = DocumentPrototype[dispatchEvent] = ElementPrototype[dispatchEvent] = function (eventObject) {
Expand Down

0 comments on commit d5c2595

Please sign in to comment.