We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents edc3eee + 21f29a7 commit a2fc014Copy full SHA for a2fc014
js/bootstrap-tooltip.js
@@ -119,7 +119,7 @@
119
inside = /in/.test(placement)
120
121
$tip
122
- .remove()
+ .detach()
123
.css({ top: 0, left: 0, display: 'block' })
124
.insertAfter(this.$element)
125
@@ -166,18 +166,18 @@
166
167
function removeWithAnimation() {
168
var timeout = setTimeout(function () {
169
- $tip.off($.support.transition.end).remove()
+ $tip.off($.support.transition.end).detach()
170
}, 500)
171
172
$tip.one($.support.transition.end, function () {
173
clearTimeout(timeout)
174
- $tip.remove()
+ $tip.detach()
175
})
176
}
177
178
$.support.transition && this.$tip.hasClass('fade') ?
179
removeWithAnimation() :
180
181
182
return this
183
0 commit comments