Bring back target=_blank to photo links.
After living without it for a while, I prefer with.
This commit is contained in:
parent
ec8644dded
commit
b384f2895a
1 changed files with 2 additions and 2 deletions
|
@ -151,7 +151,7 @@ ondrop="return cards.photos.drag_drop(event);"
|
||||||
draggable="true"
|
draggable="true"
|
||||||
>
|
>
|
||||||
<div class="photo_card_filename">
|
<div class="photo_card_filename">
|
||||||
<a href="/photo/{{photo.id}}" draggable="false">{{photo.basename}}</a>
|
<a target="_blank" href="/photo/{{photo.id}}" draggable="false">{{photo.basename}}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<span class="photo_card_metadata">
|
<span class="photo_card_metadata">
|
||||||
|
@ -172,7 +172,7 @@ draggable="true"
|
||||||
{% set thumbnail_src = "/static/basic_thumbnails/" ~ thumbnail_src ~ ".png" %}
|
{% set thumbnail_src = "/static/basic_thumbnails/" ~ thumbnail_src ~ ".png" %}
|
||||||
{% endif -%}{# if thumbnail #}
|
{% endif -%}{# if thumbnail #}
|
||||||
|
|
||||||
<a class="photo_card_thumbnail" href="/photo/{{photo.id}}" draggable="false">
|
<a class="photo_card_thumbnail" target="_blank" href="/photo/{{photo.id}}" draggable="false">
|
||||||
<img loading="lazy" src="{{thumbnail_src}}" draggable="false">
|
<img loading="lazy" src="{{thumbnail_src}}" draggable="false">
|
||||||
</a>
|
</a>
|
||||||
{% endif %}{# if grid #}
|
{% endif %}{# if grid #}
|
||||||
|
|
Loading…
Reference in a new issue