mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 00:28:22 +00:00
fix: [domains explorer] fix empty screenshots
This commit is contained in:
parent
e7eceab2b3
commit
6ed76b2e3b
1 changed files with 4 additions and 1 deletions
|
@ -175,9 +175,12 @@ blocks.addEventListener('change', pixelate_all, false);
|
||||||
{% if dict_domain['is_tags_safe'] %}
|
{% if dict_domain['is_tags_safe'] %}
|
||||||
{% if 'screenshot' in dict_domain %}
|
{% if 'screenshot' in dict_domain %}
|
||||||
var screenshot_url = "{{ url_for('objects_item.screenshot', filename="") }}{{dict_domain['screenshot']}}";
|
var screenshot_url = "{{ url_for('objects_item.screenshot', filename="") }}{{dict_domain['screenshot']}}";
|
||||||
init_canevas_blurr_img("canvas_{{loop.index0}}", screenshot_url);
|
{% else %}
|
||||||
|
var screenshot_url = "{{ url_for('static', filename='image/AIL.png') }}";
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
init_canevas_blurr_img("canvas_{{loop.index0}}", screenshot_url);
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue