From 59153205b337df6900a681eb3b3681620bd20ec2 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 20 Jun 2012 23:46:29 -0700 Subject: run make on js files --- docs/assets/js/bootstrap.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'docs/assets/js/bootstrap.js') 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') + } + }) -- cgit v1.2.3