diff options
author | Noémi Ványi <sitbackandwait@gmail.com> | 2016-12-27 20:21:45 +0100 |
---|---|---|
committer | Noémi Ványi <sitbackandwait@gmail.com> | 2016-12-29 23:40:23 +0100 |
commit | d82f64238f63debe143d1f9617aa5149197ba6ad (patch) | |
tree | b838eb38836e62020987ef816f9c5b94eebab8b1 | |
parent | 1157cefb1e231673592799e43d6448a494b703d0 (diff) | |
download | searxng-d82f64238f63debe143d1f9617aa5149197ba6ad.tar.gz searxng-d82f64238f63debe143d1f9617aa5149197ba6ad.zip |
fix opening of result on new tab
-rw-r--r-- | searx/templates/oscar/result_templates/images.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/oscar/result_templates/images.html b/searx/templates/oscar/result_templates/images.html index 53b2cb76d..3bf52cd68 100644 --- a/searx/templates/oscar/result_templates/images.html +++ b/searx/templates/oscar/result_templates/images.html @@ -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 %}
|