Skip to content

Commit

Permalink
Made the difficult decision to remove this question mark
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnvSprundel committed May 10, 2022
1 parent c700abf commit b493f32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/autosuggest.js
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ function init() {
if (typeof currentIndex === 'undefined') {
break;
}
if (results[currentIndex]?.classList.contains('selected')) {
if (results[currentIndex].classList.contains('selected')) {
// navigate to the item defined in the span's data-url attribute
selectItem(input, results[currentIndex].querySelector('.autosuggest-link'));
}
Expand Down

0 comments on commit b493f32

Please sign in to comment.