From 3ef7f92d42853794e344e853995b54890316f436 Mon Sep 17 00:00:00 2001 From: MickaelK Date: Wed, 24 Sep 2025 11:49:38 +1000 Subject: [PATCH] fix (upload): click on loading item clicking on a item loading would redirect the user to the root, we are much better off disabling the link --- public/assets/pages/filespage/thing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/assets/pages/filespage/thing.js b/public/assets/pages/filespage/thing.js index 339fdcc5..2414b105 100644 --- a/public/assets/pages/filespage/thing.js +++ b/public/assets/pages/filespage/thing.js @@ -143,7 +143,7 @@ export function createThing({ if (loading) { $img.setAttribute("src", IMAGE.LOADING); $img.setAttribute("alt", "loading"); - $link.setAttribute("href", "#"); + $link.removeAttribute("href"); $extension.innerHTML = ""; return $thing; } else if (type === "hidden") {