use target blank instead of download attr

This commit is contained in:
bakatrouble 2019-03-08 19:08:50 +03:00
parent 48ea2760ac
commit 3b44090709

View File

@ -39,7 +39,7 @@
{% with dir=item.is_dir, file=not item.is_dir %}
<tr>
<td>
<a href="{{ item.link_name }}{% if dir %}{{ query }}{% endif %}" {% if file %}download{% endif %}>
<a href="{{ item.link_name }}{% if dir %}{{ query }}{% endif %}" {% if file %}target="_blank"{% endif %}>
{{ item.icon | safe }} {{ item.display_name }}
</a>
</td>