Update devDependencies and fix a typo in comment. (#23534)
This commit is contained in:
parent
94cb75ad2f
commit
74d96392d2
|
@ -131,7 +131,7 @@ const Carousel = (($) => {
|
||||||
|
|
||||||
nextWhenVisible() {
|
nextWhenVisible() {
|
||||||
// Don't call next when the page isn't visible
|
// Don't call next when the page isn't visible
|
||||||
// or the carousel or it's parent isn't visible
|
// or the carousel or its parent isn't visible
|
||||||
if (!document.hidden &&
|
if (!document.hidden &&
|
||||||
($(this._element).is(':visible') && $(this._element).css('visibility') !== 'hidden')) {
|
($(this._element).is(':visible') && $(this._element).css('visibility') !== 'hidden')) {
|
||||||
this.next()
|
this.next()
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue