mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-06 04:08:22 +01:00
fix some JS to pass jscs
This commit is contained in:
parent
4be126e014
commit
351f86e1db
@ -347,7 +347,7 @@ $(function () {
|
|||||||
.tooltip('show')
|
.tooltip('show')
|
||||||
, tooltip = container.find(".tooltip")
|
, tooltip = container.find(".tooltip")
|
||||||
|
|
||||||
ok( Math.round(target.offset().top + target[0].offsetHeight/2 - tooltip[0].offsetHeight/2) === Math.round(tooltip.offset().top) )
|
ok( Math.round(target.offset().top + (target[0].offsetHeight / 2) - (tooltip[0].offsetHeight / 2)) === Math.round(tooltip.offset().top) )
|
||||||
target.tooltip('hide')
|
target.tooltip('hide')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user