1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-12 08:34:08 +02:00

replace some profanities (#20715)

This commit is contained in:
VarelloThemes
2016-09-15 17:39:31 +01:00
committed by Mark Otto
parent 3f01134031
commit 63129112bb
2 changed files with 2 additions and 2 deletions

View File

@@ -368,7 +368,7 @@ $(function () {
var $tooltip = $($target.data('bs.tooltip').tip)
// this is some dumb hack shit because sub pixels in firefox
// this is some dumb hack stuff because sub pixels in firefox
var top = Math.round($target.offset().top + ($target[0].offsetHeight / 2) - ($tooltip[0].offsetHeight / 2))
var top2 = Math.round($tooltip.offset().top)
var topDiff = top - top2