Skip to content

Commit

Permalink
remove stopImmediatePropagation from Blacklight.handleSearchContextMe…
Browse files Browse the repository at this point in the history
…thod

allows downstream apps/gems to attach listeners to search result links
  • Loading branch information
ebenenglish committed Sep 29, 2020
1 parent beeefcd commit a7c51e5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/assets/javascripts/blacklight/blacklight.js
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,6 @@ Blacklight.handleSearchContextMethod = function (event) {
form.querySelector('[type="submit"]').click();
event.preventDefault();
event.stopPropagation();
event.stopImmediatePropagation();
};

Blacklight.onLoad(function () {
Expand Down
1 change: 0 additions & 1 deletion app/javascript/blacklight/search_context.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ Blacklight.handleSearchContextMethod = function(event) {

event.preventDefault()
event.stopPropagation()
event.stopImmediatePropagation()
};

Blacklight.onLoad(function() {
Expand Down

0 comments on commit a7c51e5

Please sign in to comment.