mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +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) {
|
||||
if (this.listElement.childElementCount === 0 || direction === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
let nextTargetElement: Element | null;
|
||||
|
||||
if (!this.selectedElement) {
|
||||
|
|
Loading…
Reference in a new issue