1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-20 03:10:10 +01:00

[oscar] add scrolling="no" to iframes in HTML templates

Suggested-by: @dalf https://github.com/searxng/searxng/pull/882#discussion_r805180787
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2022-02-13 12:55:54 +01:00
parent 795e8af61d
commit 50ee7bcac6
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
{% if result.data_src -%} {% if result.data_src -%}
<div id="result-media-{{ index }}" class="embedded-content invisible"> <div id="result-media-{{ index }}" class="embedded-content invisible">
<iframe data-src="{{result.data_src}}" frameborder="0" allowfullscreen></iframe> <iframe data-src="{{result.data_src}}" frameborder="0" scrolling="no" allowfullscreen></iframe>
</div> </div>
{%- endif -%} {%- endif -%}

View File

@ -9,7 +9,7 @@
{% if result.data_src -%} {% if result.data_src -%}
<div id="result-video-{{ index }}" class="embedded-video collapse"> <div id="result-video-{{ index }}" class="embedded-video collapse">
<iframe data-src="{{result.data_src}}" width="540" height="304" frameborder="0" allowfullscreen></iframe> <iframe data-src="{{result.data_src}}" width="540" height="304" frameborder="0" scrolling="no" allowfullscreen></iframe>
</div> </div>
{%- endif %} {%- endif %}