Skip to content

Commit 454c47f

Browse files
committed
templates: search: Remove touchstart handler for loading overlay
The touchstart function loads the overlay which is at a higher z-index than then element to be clicked. So the overlay loads but the element (usually a filter item) beneath the overlay doesn't receive a "click" Fixes: #1188
1 parent 8167ed3 commit 454c47f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

grantnav/frontend/templates/search.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ <h1>Search input is not valid</h1>
169169
filters.forEach(function (filter) {
170170
// Add event listeners for click and touch events
171171
filter.addEventListener('click', show_overlay);
172-
filter.addEventListener('touchstart', show_overlay);
173172

174173
// Add event listener for keyboard events
175174
filter.addEventListener('keydown', function (event) {

0 commit comments

Comments
 (0)