aboutsummaryrefslogtreecommitdiff
path: root/js/tests/visual/carousel.html
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2020-06-27 00:28:32 +0200
committerJohann-S <[email protected]>2020-06-27 15:58:00 +0200
commit686b88c505540a8ce0a260c18bd327865cad81c4 (patch)
tree8763220a29a962bc992d06f60ef590a63221bb51 /js/tests/visual/carousel.html
parent2c38800ea224327a063a8fd5c11df8d2ee2ca5a6 (diff)
downloadbootstrap-feat/data-target.tar.xz
bootstrap-feat/data-target.zip
use only data target to query elements in our pluginfeat/data-target
Diffstat (limited to 'js/tests/visual/carousel.html')
-rw-r--r--js/tests/visual/carousel.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/visual/carousel.html b/js/tests/visual/carousel.html
index d66f14053..f788256f7 100644
--- a/js/tests/visual/carousel.html
+++ b/js/tests/visual/carousel.html
@@ -34,11 +34,11 @@
<img src="https://i.imgur.com/Nm7xoti.jpg" alt="Third slide">
</div>
</div>
- <a class="carousel-control-prev" href="#carousel-example-generic" role="button" data-slide="prev">
+ <a href="#" class="carousel-control-prev" data-target="#carousel-example-generic" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
- <a class="carousel-control-next" href="#carousel-example-generic" role="button" data-slide="next">
+ <a href="#" class="carousel-control-next" data-target="#carousel-example-generic" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>