forked from Ponysearch/Ponysearch
[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
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue