diff options
| author | Jacob Thornton <[email protected]> | 2012-10-17 22:51:39 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-10-17 22:51:39 -0700 |
| commit | 280d4aeb30aa6b29ec74bd801ad1be3fc05e01f4 (patch) | |
| tree | 874872159c9bc91c79ab8de491e11e1a6ba27df6 /docs/assets/js/bootstrap.js | |
| parent | 24b5e6cb142ad5ac530c0815ebf1cc102e2e381b (diff) | |
| download | bootstrap-280d4aeb30aa6b29ec74bd801ad1be3fc05e01f4.tar.xz bootstrap-280d4aeb30aa6b29ec74bd801ad1be3fc05e01f4.zip | |
rebuild
Diffstat (limited to 'docs/assets/js/bootstrap.js')
| -rw-r--r-- | docs/assets/js/bootstrap.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/assets/js/bootstrap.js b/docs/assets/js/bootstrap.js index 1b2521a96..3aaaa6877 100644 --- a/docs/assets/js/bootstrap.js +++ b/docs/assets/js/bootstrap.js @@ -1079,7 +1079,7 @@ inside = /in/.test(placement) $tip - .remove() + .detach() .css({ top: 0, left: 0, display: 'block' }) .insertAfter(this.$element) @@ -1126,18 +1126,18 @@ function removeWithAnimation() { var timeout = setTimeout(function () { - $tip.off($.support.transition.end).remove() + $tip.off($.support.transition.end).detach() }, 500) $tip.one($.support.transition.end, function () { clearTimeout(timeout) - $tip.remove() + $tip.detach() }) } $.support.transition && this.$tip.hasClass('fade') ? removeWithAnimation() : - $tip.remove() + $tip.detach() return this } @@ -1536,7 +1536,7 @@ if ( $this.parent('li').hasClass('active') ) return - previous = $ul.find('.active a').last()[0] + previous = $ul.find('.active:last a')[0] e = $.Event('show', { relatedTarget: previous |
