diff --git a/frontends/etiquette_flask/static/js/cards.js b/frontends/etiquette_flask/static/js/cards.js index 13e4390..8188078 100644 --- a/frontends/etiquette_flask/static/js/cards.js +++ b/frontends/etiquette_flask/static/js/cards.js @@ -174,7 +174,6 @@ function create(photo, view) const photo_card_filename = document.createElement("div"); photo_card_filename.className = "photo_card_filename"; const filename_link = document.createElement("a"); - filename_link.target = "_blank"; filename_link.href = `/photo/${photo.id}`; filename_link.draggable = false; filename_link.innerText = photo.filename; diff --git a/frontends/etiquette_flask/templates/cards.html b/frontends/etiquette_flask/templates/cards.html index 62e1ac4..a4d1bb2 100644 --- a/frontends/etiquette_flask/templates/cards.html +++ b/frontends/etiquette_flask/templates/cards.html @@ -151,7 +151,7 @@ ondrop="return cards.photos.drag_drop(event);" draggable="true" >