diff options
| author | Johann-S <[email protected]> | 2020-06-27 00:28:32 +0200 |
|---|---|---|
| committer | Johann-S <[email protected]> | 2020-06-27 15:58:00 +0200 |
| commit | 686b88c505540a8ce0a260c18bd327865cad81c4 (patch) | |
| tree | 8763220a29a962bc992d06f60ef590a63221bb51 /js/tests/visual/carousel.html | |
| parent | 2c38800ea224327a063a8fd5c11df8d2ee2ca5a6 (diff) | |
| download | bootstrap-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.html | 4 |
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> |
