mirror of https://github.com/CIRCL/AIL-framework
fix: [domains explorer] fix empty screenshots
parent
e7eceab2b3
commit
6ed76b2e3b
|
@ -175,9 +175,12 @@ blocks.addEventListener('change', pixelate_all, false);
|
|||
{% if dict_domain['is_tags_safe'] %}
|
||||
{% if 'screenshot' in dict_domain %}
|
||||
var screenshot_url = "{{ url_for('objects_item.screenshot', filename="") }}{{dict_domain['screenshot']}}";
|
||||
{% else %}
|
||||
var screenshot_url = "{{ url_for('static', filename='image/AIL.png') }}";
|
||||
{% endif %}
|
||||
init_canevas_blurr_img("canvas_{{loop.index0}}", screenshot_url);
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue