fix: [domain] add screenshot img onerror

dev
terrtia 2024-02-19 16:23:53 +01:00
parent f62ec679cc
commit 443f4f2fb3
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
<div class="card {% if dict_domain["status"] %}border-success{% else %}border-danger{% endif %}">
<div class="text-center">
{% if dict_domain["is_tags_safe"] %}
<img class="object_image mb-1" src="{{ url_for('objects_item.screenshot', filename="") }}{{dict_domain['screenshot']}}">
<img class="object_image mb-1" src="{{ url_for('objects_item.screenshot', filename="") }}{{dict_domain['screenshot']}}" onerror="this.onerror=null;this.src='{{ url_for('static', filename='image/AIL.png') }}';">
{% else %}
<span class="my-2 fa-stack fa-8x">
<i class="fas fa-stack-1x fa-image"></i>