1
0
mirror of https://github.com/searx/searx synced 2024-12-11 08:25:27 +01:00

fix opening of result on new tab

This commit is contained in:
Noémi Ványi 2016-12-27 20:21:45 +01:00
parent 1157cefb1e
commit d82f64238f

View File

@ -1,4 +1,4 @@
<a href="#open-modal-{{ index }}-{{ pageno }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %}>
<a href="#open-modal-{{ index }}-{{ pageno }}">
<img src="{% if result.thumbnail_src %}{{ image_proxify(result.thumbnail_src) }}{% else %}{{ image_proxify(result.img_src) }}{% endif %}" alt="{{ result.title|striptags }}" title="{{ result.title|striptags }}" class="img-thumbnail" id="img-result-thumb-{{ index }}" />
</a>
@ -23,7 +23,7 @@
</div>
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12 modal-body">
<a href="{{ result.img_src }}"><div class="image-container"></div></a>
<a href="{{ result.img_src }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %}><div class="image-container"></div></a>
</div>
</div>
{% if result.content %}