Commit 0e18ee64 authored by Chris Rebert's avatar Chris Rebert

Merge pull request #14625 from twbs/svg-tooltip-test-fix

Must explicitly destroy tooltip in SVG unit test since its container is body
parents 1783c707 73e3db0a
......@@ -768,6 +768,8 @@ $(function () {
var offset = $('.tooltip').offset()
$styles.remove()
ok(Math.abs(offset.left - 88) <= 1, 'tooltip has correct horizontal location')
$circle.bootstrapTooltip('hide')
equal($('.tooltip').length, 0, 'tooltip removed from dom')
start()
})
.bootstrapTooltip({ container: 'body', placement: 'top', trigger: 'manual' })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment