diff --git a/var/www/templates/crawler/crawler_splash/domain_explorer.html b/var/www/templates/crawler/crawler_splash/domain_explorer.html index 63606205..12472b4f 100644 --- a/var/www/templates/crawler/crawler_splash/domain_explorer.html +++ b/var/www/templates/crawler/crawler_splash/domain_explorer.html @@ -211,15 +211,16 @@ function img_error(canevas_id) { blocks.addEventListener('change', pixelate_all, false); -{% for dict_domain in dict_data['list_elem'] %} - {% if 'screenshot' in dict_domain %} +{% for dict_domain in dict_data['list_elem'] %} {% if dict_domain['is_tags_safe'] %} - var screenshot_url = "{{ url_for('objects_item.screenshot', filename="") }}{{dict_domain['screenshot']}}"; - {% else %} - var screenshot_url = "{{ url_for('static', filename='image/AIL.png') }}"; + {% 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 %} - init_canevas_blurr_img("canvas_{{loop.index0}}", screenshot_url); - {% endif %} + {% endfor %} diff --git a/var/www/templates/domains/domains_result_list.html b/var/www/templates/domains/domains_result_list.html index 3c5a6077..8ca378d4 100644 --- a/var/www/templates/domains/domains_result_list.html +++ b/var/www/templates/domains/domains_result_list.html @@ -104,7 +104,6 @@ function toggle_sidebar(){ } -