Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
e5be883b
Commit
e5be883b
authored
12 years ago
by
Guillaume Gautreau
Browse files
Options
Download
Email Patches
Plain Diff
lint + wrong comparison
parent
92959878
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/bootstrap-tooltip.js
+2
-2
js/bootstrap-tooltip.js
with
2 additions
and
2 deletions
+2
-2
js/bootstrap-tooltip.js
+
2
-
2
View file @
e5be883b
...
...
@@ -180,7 +180,7 @@
actualWidth
=
$tip
[
0
].
offsetWidth
;
actualHeight
=
$tip
[
0
].
offsetHeight
;
if
(
placement
==
"
top
"
&&
actualHeight
!=
actualWidth
){
if
(
placement
==
"
top
"
&&
actualHeight
!=
height
){
offset
.
top
=
offset
.
top
+
height
-
actualHeight
;
replace
=
true
;
}
...
...
@@ -190,7 +190,7 @@
if
(
offset
.
left
<
0
){
delta
=
-
offset
.
left
*
2
;
offset
.
left
=
.
1
;
offset
.
left
=
0
.1
;
$tip
.
offset
(
offset
);
actualWidth
=
$tip
[
0
].
offsetWidth
;
actualHeight
=
$tip
[
0
].
offsetHeight
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment