Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Thornton <jacobthornton@gmail.com>2012-06-03 09:10:35 +0400
committerJacob Thornton <jacobthornton@gmail.com>2012-06-03 09:10:35 +0400
commit2d3a0babd242d7eebe09cf3f4daad38e2d7df6ee (patch)
treef1152d3b0c2cd04b65dcfaceed8f54960a0c1e51 /js/bootstrap-carousel.js
parent4a276b1620f84da7343635731f6b3dbfa301d381 (diff)
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 e0dadd2136..1bb8f5a066 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