]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
carousel: switch to `if/else` (#32395)
authorXhmikosR <xhmikosr@gmail.com>
Wed, 9 Dec 2020 22:38:24 +0000 (00:38 +0200)
committerGitHub <noreply@github.com>
Wed, 9 Dec 2020 22:38:24 +0000 (00:38 +0200)
commit6f9c38f65ef7bb685c56844632785df15839add8
tree3646c71ff93e49a4ff8b91a5a2ea683953fb0a65
parent8fed098ef9a60994df2389efa194b9af2b6cf520
carousel: switch to `if/else` (#32395)

There are only two conditions, so `if/else` is shorter and has the same effect.
js/src/carousel.js