diff --git a/assets/js/utils/suggestions.ts b/assets/js/utils/suggestions.ts index e9071c34..6f9522a1 100644 --- a/assets/js/utils/suggestions.ts +++ b/assets/js/utils/suggestions.ts @@ -102,7 +102,7 @@ export class SuggestionsPopup { direction > 0 ? this.selectedElement.nextElementSibling : this.selectedElement.previousElementSibling; } - if (!(nextTargetElement instanceof HTMLElement) || !nextTargetElement.dataset.value) { + if (!(nextTargetElement instanceof HTMLElement)) { this.clearSelection(); return; }