mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05: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…
Add table
Reference in a new issue