mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +01:00
Fixed selection using keyboard when stumbled upon option without value
This commit is contained in:
parent
7a6ca5b234
commit
0111ac5dfb
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue