mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-02-18 19:34:23 +01:00
Removed the check for direction and elements count for private method
This commit is contained in:
parent
0111ac5dfb
commit
098ec6c6db
1 changed files with 0 additions and 4 deletions
|
@ -89,10 +89,6 @@ export class SuggestionsPopup {
|
||||||
}
|
}
|
||||||
|
|
||||||
private changeSelection(direction: number) {
|
private changeSelection(direction: number) {
|
||||||
if (this.listElement.childElementCount === 0 || direction === 0) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
let nextTargetElement: Element | null;
|
let nextTargetElement: Element | null;
|
||||||
|
|
||||||
if (!this.selectedElement) {
|
if (!this.selectedElement) {
|
||||||
|
|
Loading…
Reference in a new issue