Skip to content
Snippets Groups Projects
Commit 12ce3e01 authored by Anand Doshi's avatar Anand Doshi
Browse files

[fix] website slideshow script

parent b17172ac
No related branches found
No related tags found
No related merge requests found
......@@ -6,11 +6,11 @@
<!-- Indicators -->
<ol class="carousel-indicators">
{% for slide in slides %}
<li data-target="#the-carousel" data-slide-to="0"
<li data-target="#the-carousel" data-slide-to="0"
{%- if loop.index==0 %}class="active"{% endif %}></li>
{% endfor %}
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner">
{% for slide in slides %}
......@@ -35,5 +35,9 @@
</a>
</div>
<script>$(".carousel").carousel();</script>
<script>
frappe.ready(function() {
$(".carousel").carousel();
});
</script>
{% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment