2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

fix some JS to pass jscs

This commit is contained in:
Chris Rebert
2013-12-06 16:51:59 -08:00
parent 4be126e014
commit 351f86e1db
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -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')
}) })