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
d0f76e41
Commit
d0f76e41
authored
10 years ago
by
Heinrich Fenkart
Browse files
Options
Download
Email Patches
Plain Diff
grunt
parent
4c985070
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
dist/js/bootstrap.js
+8
-6
dist/js/bootstrap.js
dist/js/bootstrap.min.js
+1
-1
dist/js/bootstrap.min.js
docs/assets/js/customize.min.js
+1
-1
docs/assets/js/customize.min.js
docs/assets/js/raw-files.min.js
+1
-1
docs/assets/js/raw-files.min.js
docs/dist/js/bootstrap.js
+8
-6
docs/dist/js/bootstrap.js
docs/dist/js/bootstrap.min.js
+1
-1
docs/dist/js/bootstrap.min.js
with
20 additions
and
16 deletions
+20
-16
dist/js/bootstrap.js
+
8
-
6
View file @
d0f76e41
...
...
@@ -1391,16 +1391,18 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re
if
(
delta
.
left
)
offset
.
left
+=
delta
.
left
else
offset
.
top
+=
delta
.
top
var
arrowDelta
=
delta
.
left
?
delta
.
left
*
2
-
width
+
actualWidth
:
delta
.
top
*
2
-
height
+
actualHeight
var
arrow
Position
=
delta
.
left
?
'
left
'
:
'
top
'
var
arrowOffsetPosition
=
delta
.
left
?
'
offsetWidth
'
:
'
offsetHeight
'
var
isVertical
=
/top|bottom/
.
test
(
placement
)
var
arrow
Delta
=
isVertical
?
delta
.
left
*
2
-
width
+
actualWidth
:
delta
.
top
*
2
-
height
+
actualHeight
var
arrowOffsetPosition
=
isVertical
?
'
offsetWidth
'
:
'
offsetHeight
'
$tip
.
offset
(
offset
)
this
.
replaceArrow
(
arrowDelta
,
$tip
[
0
][
arrowOffsetPosition
],
arrowPosition
)
this
.
replaceArrow
(
arrowDelta
,
$tip
[
0
][
arrowOffsetPosition
],
isVertical
)
}
Tooltip
.
prototype
.
replaceArrow
=
function
(
delta
,
dimension
,
position
)
{
this
.
arrow
().
css
(
position
,
delta
?
(
50
*
(
1
-
delta
/
dimension
)
+
'
%
'
)
:
''
)
Tooltip
.
prototype
.
replaceArrow
=
function
(
delta
,
dimension
,
isHorizontal
)
{
this
.
arrow
()
.
css
(
isHorizontal
?
'
left
'
:
'
top
'
,
50
*
(
1
-
delta
/
dimension
)
+
'
%
'
)
.
css
(
isHorizontal
?
'
top
'
:
'
left
'
,
''
)
}
Tooltip
.
prototype
.
setContent
=
function
()
{
...
...
This diff is collapsed.
Click to expand it.
dist/js/bootstrap.min.js
+
1
-
1
View file @
d0f76e41
This diff is collapsed.
Click to expand it.
docs/assets/js/customize.min.js
+
1
-
1
View file @
d0f76e41
This diff is collapsed.
Click to expand it.
docs/assets/js/raw-files.min.js
+
1
-
1
View file @
d0f76e41
This diff is collapsed.
Click to expand it.
docs/dist/js/bootstrap.js
+
8
-
6
View file @
d0f76e41
...
...
@@ -1391,16 +1391,18 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re
if
(
delta
.
left
)
offset
.
left
+=
delta
.
left
else
offset
.
top
+=
delta
.
top
var
arrowDelta
=
delta
.
left
?
delta
.
left
*
2
-
width
+
actualWidth
:
delta
.
top
*
2
-
height
+
actualHeight
var
arrow
Position
=
delta
.
left
?
'
left
'
:
'
top
'
var
arrowOffsetPosition
=
delta
.
left
?
'
offsetWidth
'
:
'
offsetHeight
'
var
isVertical
=
/top|bottom/
.
test
(
placement
)
var
arrow
Delta
=
isVertical
?
delta
.
left
*
2
-
width
+
actualWidth
:
delta
.
top
*
2
-
height
+
actualHeight
var
arrowOffsetPosition
=
isVertical
?
'
offsetWidth
'
:
'
offsetHeight
'
$tip
.
offset
(
offset
)
this
.
replaceArrow
(
arrowDelta
,
$tip
[
0
][
arrowOffsetPosition
],
arrowPosition
)
this
.
replaceArrow
(
arrowDelta
,
$tip
[
0
][
arrowOffsetPosition
],
isVertical
)
}
Tooltip
.
prototype
.
replaceArrow
=
function
(
delta
,
dimension
,
position
)
{
this
.
arrow
().
css
(
position
,
delta
?
(
50
*
(
1
-
delta
/
dimension
)
+
'
%
'
)
:
''
)
Tooltip
.
prototype
.
replaceArrow
=
function
(
delta
,
dimension
,
isHorizontal
)
{
this
.
arrow
()
.
css
(
isHorizontal
?
'
left
'
:
'
top
'
,
50
*
(
1
-
delta
/
dimension
)
+
'
%
'
)
.
css
(
isHorizontal
?
'
top
'
:
'
left
'
,
''
)
}
Tooltip
.
prototype
.
setContent
=
function
()
{
...
...
This diff is collapsed.
Click to expand it.
docs/dist/js/bootstrap.min.js
+
1
-
1
View file @
d0f76e41
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