Skip to content

Commit

Permalink
Run Carousel form js - see #12521
Browse files Browse the repository at this point in the history
  • Loading branch information
Gomez committed Feb 7, 2024
1 parent 4eac917 commit 634eb71
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/collective/behavior/banner/browser/slider.pt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<div id="carousel"
class="carousel slide"
data-bs-ride="carousel"
data-bs-pause="false"
tal:attributes="id python: 'carousel_' + context.id">

<ol class="carousel-indicators hidden-xs">
Expand All @@ -31,7 +31,6 @@
<tal:loop tal:repeat="banner banners">

<div class="carousel-item ${python: repeat.banner.start and 'active' or ''}"
data-bs-interval="6000"
tal:define="has_image python:'banner_image' in banner;
has_url python:banner and 'banner_url' in banner;
has_fontcolor python:'banner_fontcolor' in banner;
Expand Down

0 comments on commit 634eb71

Please sign in to comment.