forked from zaclys/searxng
[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:
parent
795e8af61d
commit
50ee7bcac6
|
@ -9,7 +9,7 @@
|
|||
|
||||
{% if result.data_src -%}
|
||||
<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>
|
||||
{%- endif -%}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
{% if result.data_src -%}
|
||||
<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>
|
||||
{%- endif %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue