Commit c028e333 authored by Barryvdh's avatar Barryvdh
Browse files

Scope finding the .active to .item

parent 269ce715
9 merge requests!4427Use variable for desktop media query,!4258Aria,!4248Amended mentions of 'javascript' to the correct 'JavaScript',!4235Patch 1,!4232Fixing the modal z-index issue + make modal stacking possible,!42132.1.0 wip,!4165Patch 2,!39192.1.0 wip,!3770Scope carousel .active to .item
Showing with 1 addition and 1 deletion
+1 -1
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
} }
, slide: function (type, next) { , slide: function (type, next) {
var $active = this.$element.find('.active') var $active = this.$element.find('.item.active')
, $next = next || $active[type]() , $next = next || $active[type]()
, isCycling = this.interval , isCycling = this.interval
, direction = type == 'next' ? 'left' : 'right' , direction = type == 'next' ? 'left' : 'right'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment