We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d9ca20 commit 3f9e6d0Copy full SHA for 3f9e6d0
app/src/mobile/dock/MobileFiles.ts
@@ -111,6 +111,9 @@ export class MobileFiles extends Model {
111
filesElement.addEventListener("click", (event: MouseEvent & { target: HTMLElement }) => {
112
let target = event.target as HTMLElement;
113
while (target && !target.isEqualNode(this.actionsElement)) {
114
+ if (target.classList.contains("b3-list-item__icon")) {
115
+ target = target.previousElementSibling as HTMLElement;
116
+ }
117
const type = target.getAttribute("data-type");
118
if (type === "refresh") {
119
if (!target.getAttribute("disabled")) {
0 commit comments