aboutsummaryrefslogtreecommitdiff
path: root/js/bootstrap-tooltip.js
diff options
context:
space:
mode:
authorGuillaume Gautreau <[email protected]>2013-01-26 14:06:58 +0100
committerGuillaume Gautreau <[email protected]>2013-01-26 14:06:58 +0100
commit929598784f3a2e4f706d5dcd5a41cea207dfd65e (patch)
tree484e875fb6aa067748dedc0622ae400140215334 /js/bootstrap-tooltip.js
parent6803ff70f9203595a04c5adb20d7556cd52c5923 (diff)
downloadbootstrap-929598784f3a2e4f706d5dcd5a41cea207dfd65e.tar.xz
bootstrap-929598784f3a2e4f706d5dcd5a41cea207dfd65e.zip
Unit test for replacing tooltip inside window
Diffstat (limited to 'js/bootstrap-tooltip.js')
-rw-r--r--js/bootstrap-tooltip.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-tooltip.js b/js/bootstrap-tooltip.js
index 0d8a20f56..49c3c6be4 100644
--- a/js/bootstrap-tooltip.js
+++ b/js/bootstrap-tooltip.js
@@ -190,7 +190,7 @@
if (offset.left < 0){
delta = -offset.left * 2;
- offset.left = 0;
+ offset.left = .1;
$tip.offset(offset);
actualWidth = $tip[0].offsetWidth;
actualHeight = $tip[0].offsetHeight;