Skip to content

Commit

Permalink
Merge pull request #127 from nfaucher8/jquery-3-carousel-fix
Browse files Browse the repository at this point in the history
Replace jQuery's deprecated `.size()` with `.length`
  • Loading branch information
mpnkhan authored May 8, 2020
2 parents 03eadae + 57d967f commit fbbf870
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion plugins/js/bootstrap-accessibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ CC0: http://creativecommons.org/publicdomain/zero/1.0/
, $active = $element.find('[role=tabpanel].active')
, $next = next || $active[type]()
, $tab
, $tab_count = $element.find('[role=tabpanel]').size()
, $tab_count = $element.find('[role=tabpanel]').length
, $prev_side = $element.find('[data-slide="prev"]')
, $next_side = $element.find('[data-slide="next"]')
, $index = 0
Expand Down
Loading

0 comments on commit fbbf870

Please sign in to comment.