mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-06 00:15:11 +01:00
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
This commit is contained in:
parent
b9104626fc
commit
3ef7f92d42
1 changed files with 1 additions and 1 deletions
|
|
@ -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") {
|
||||
|
|
|
|||
Loading…
Reference in a new issue