Skip to content
Snippets Groups Projects
Commit a23344d5 authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3421069: Only show indicators or controls when having 2 slides or more

parent e4133c0b
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
{% endfor %} {% endfor %}
</div> </div>
{% if indicators or controls %} {% if (indicators or controls) and items|length >= 2 %}
<div class="carousel-controls"> <div class="carousel-controls">
{# Add indicators for the carousel #} {# Add indicators for the carousel #}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment