mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-28 10:10:24 +00:00
null out interval so that pause doesn't resume on next or prev
This commit is contained in:
parent
f9b578260f
commit
e730f8adb5
3 changed files with 2 additions and 0 deletions
Binary file not shown.
1
docs/assets/js/bootstrap-carousel.js
vendored
1
docs/assets/js/bootstrap-carousel.js
vendored
|
|
@ -61,6 +61,7 @@
|
|||
|
||||
, pause: function () {
|
||||
clearInterval(this.interval)
|
||||
this.interval = null
|
||||
return this
|
||||
}
|
||||
|
||||
|
|
|
|||
1
js/bootstrap-carousel.js
vendored
1
js/bootstrap-carousel.js
vendored
|
|
@ -61,6 +61,7 @@
|
|||
|
||||
, pause: function () {
|
||||
clearInterval(this.interval)
|
||||
this.interval = null
|
||||
return this
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue