aboutsummaryrefslogtreecommitdiff
path: root/js/bootstrap-carousel.js
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-06-02 22:10:35 -0700
committerJacob Thornton <[email protected]>2012-06-02 22:10:35 -0700
commit2d3a0babd242d7eebe09cf3f4daad38e2d7df6ee (patch)
treef1152d3b0c2cd04b65dcfaceed8f54960a0c1e51 /js/bootstrap-carousel.js
parent4a276b1620f84da7343635731f6b3dbfa301d381 (diff)
downloadbootstrap-2d3a0babd242d7eebe09cf3f4daad38e2d7df6ee.tar.xz
bootstrap-2d3a0babd242d7eebe09cf3f4daad38e2d7df6ee.zip
make active selector more specific #2043 and rebuild
Diffstat (limited to 'js/bootstrap-carousel.js')
-rw-r--r--js/bootstrap-carousel.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-carousel.js b/js/bootstrap-carousel.js
index e0dadd213..1bb8f5a06 100644
--- a/js/bootstrap-carousel.js
+++ b/js/bootstrap-carousel.js
@@ -46,7 +46,7 @@
}
, to: function (pos) {
- var $active = this.$element.find('.active')
+ var $active = this.$element.find('.item.active')
, children = $active.parent().children()
, activePos = children.index($active)
, that = this