mirror of
https://github.com/jasny/bootstrap.git
synced 2026-04-24 03:00:49 -04:00
null out interval so that pause doesn't resume on next or prev
This commit is contained in:
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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user