mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-18 05:30:22 +00:00
remake
This commit is contained in:
parent
f046c12bd2
commit
d149a131c1
2 changed files with 2 additions and 2 deletions
Binary file not shown.
4
docs/assets/js/bootstrap-carousel.js
vendored
4
docs/assets/js/bootstrap-carousel.js
vendored
|
|
@ -83,14 +83,14 @@
|
|||
, fallback = type == 'next' ? 'first' : 'last'
|
||||
, that = this
|
||||
|
||||
if (!$next.length) return
|
||||
|
||||
this.sliding = true
|
||||
|
||||
isCycling && this.pause()
|
||||
|
||||
$next = $next.length ? $next : this.$element.find('.item')[fallback]()
|
||||
|
||||
if ($next.hasClass('active')) return
|
||||
|
||||
if (!$.support.transition && this.$element.hasClass('slide')) {
|
||||
this.$element.trigger('slide')
|
||||
$active.removeClass('active')
|
||||
|
|
|
|||
Loading…
Reference in a new issue