Skip to content

Commit

Permalink
Merge pull request #3142 from projectblacklight/jcoyne-patch-1
Browse files Browse the repository at this point in the history
Don't let turbo handle search_context tracking form when meta + click
  • Loading branch information
corylown committed Feb 14, 2024
2 parents 804d9ce + 86e81cd commit 1d3c74f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/javascript/blacklight/search_context.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ SearchContext.handleSearchContextMethod = function(event) {

// check for meta keys.. if set, we should open in a new tab
if(event.metaKey || event.ctrlKey) {
form.dataset.turbo = "false";
target = '_blank';
}

Expand Down

0 comments on commit 1d3c74f

Please sign in to comment.