diff options
Diffstat (limited to 'backend/static')
| -rw-r--r-- | backend/static/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/static/index.js b/backend/static/index.js index 07f4c89..7718c89 100644 --- a/backend/static/index.js +++ b/backend/static/index.js @@ -1,6 +1,6 @@ const newDiv = `<!-- <div class="dImg"> --> <p>$name</p><br> - <img src="upload/$name" alt="$name" width="120" height="120"/> + <a href="upload/$name"><img src="upload/$name" alt="$name" width="120" height="120"/></a> <button type="button" onclick="deleteFiles(['$name'])">Delete</button> <button type="button" onclick="renameFile('$name')">Rename</button><br> <label> |
