Skip to content

Commit

Permalink
🎨 #11587
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Sep 19, 2024
1 parent a5e8945 commit 8809df8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/layout/dock/Files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import {hasClosestByAttribute, hasClosestByTag, hasTopClosestByTag} from "../../
import {isTouchDevice} from "../../util/functions";
import {App} from "../../index";
import {refreshFileTree} from "../../dialog/processSystem";
import {hideTooltip} from "../../dialog/tooltip";

export class Files extends Model {
public element: HTMLElement;
Expand Down Expand Up @@ -382,6 +383,7 @@ export class Files extends Model {
return;
}
window.getSelection().removeAllRanges();
hideTooltip();
const liElement = hasClosestByTag(event.target, "LI");
if (liElement) {
let selectElements: Element[] = Array.from(this.element.querySelectorAll(".b3-list-item--focus"));
Expand Down

0 comments on commit 8809df8

Please sign in to comment.