Skip to content

Commit

Permalink
In IE10, stopPropogation() only exists on the local variable passed i…
Browse files Browse the repository at this point in the history
…nto the event handler, not on the global event object.
  • Loading branch information
Chris Slatt committed Aug 17, 2016
1 parent c67c66e commit 5a80dfb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions site.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,20 +175,20 @@ app = {
activateMenu: function() {

$('.region, .buffer').on('click', function(e) {
event.stopPropagation();
e.stopPropagation();
app.toggleFilterState(e.currentTarget);
app.toggleFilterData(e.currentTarget);
});
$('#clearAll').on('click', function(e) {
event.stopPropagation();
e.stopPropagation();
app.clearSelectAll(e.currentTarget);
});
$('.region, .buffer, .start, .end, #clearAll-r').on('mouseenter', function(e) {
event.stopPropagation();
e.stopPropagation();
updateHoverText(e.currentTarget, 'enter');
});
$('.region, .buffer, .start, .end, #clearAll-r').on('mouseleave', function(e) {
event.stopPropagation();
e.stopPropagation();
updateHoverText(e.currentTarget, 'leave');
});

Expand Down

0 comments on commit 5a80dfb

Please sign in to comment.