aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/js/bootstrap.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-06-20 23:46:29 -0700
committerMark Otto <[email protected]>2012-06-20 23:46:29 -0700
commit59153205b337df6900a681eb3b3681620bd20ec2 (patch)
tree91d5b42a7d98da16ce3eee437d89e13b0210a74e /docs/assets/js/bootstrap.js
parent3875a9f31b278d67e3774fbf92972f9f400130aa (diff)
downloadbootstrap-59153205b337df6900a681eb3b3681620bd20ec2.tar.xz
bootstrap-59153205b337df6900a681eb3b3681620bd20ec2.zip
run make on js files
Diffstat (limited to 'docs/assets/js/bootstrap.js')
-rw-r--r--docs/assets/js/bootstrap.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/assets/js/bootstrap.js b/docs/assets/js/bootstrap.js
index 12b915517..34038ce5a 100644
--- a/docs/assets/js/bootstrap.js
+++ b/docs/assets/js/bootstrap.js
@@ -332,7 +332,7 @@
}
, slide: function (type, next) {
- var $active = this.$element.find('.active')
+ var $active = this.$element.find('.item.active')
, $next = next || $active[type]()
, isCycling = this.interval
, direction = type == 'next' ? 'left' : 'right'
@@ -1188,6 +1188,10 @@
this[this.tip().hasClass('in') ? 'hide' : 'show']()
}
+ , destroy: function () {
+ this.$element.off().removeData('tooltip')
+ }
+
}
@@ -1291,6 +1295,10 @@
return this.$tip
}
+ , destroy: function () {
+ this.$element.off().removeData('popover')
+ }
+
})