Skip to content

Instantly share code, notes, and snippets.

@dhovart
Created July 24, 2017 12:09
Show Gist options
  • Save dhovart/7b88382e7c02299fd9a3078ab47ff55e to your computer and use it in GitHub Desktop.
Save dhovart/7b88382e7c02299fd9a3078ab47ff55e to your computer and use it in GitHub Desktop.
var originalStopPropagation = Event.prototype.stopPropagation
Event.prototype.stopPropagation = function() {
debugger
originalStopPropagation.call(this)
}
var originalStopImmediatePropagation = Event.prototype.stopImmediatePropagation
Event.prototype.stopImmediatePropagation = function() {
debugger
originalStopImmediatePropagation.call(this)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment