Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
d0f76e41
Commit
d0f76e41
authored
Sep 13, 2014
by
Heinrich Fenkart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
grunt
parent
4c985070
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
16 deletions
+20
-16
dist/js/bootstrap.js
dist/js/bootstrap.js
+8
-6
dist/js/bootstrap.min.js
dist/js/bootstrap.min.js
+1
-1
docs/assets/js/customize.min.js
docs/assets/js/customize.min.js
+1
-1
docs/assets/js/raw-files.min.js
docs/assets/js/raw-files.min.js
+1
-1
docs/dist/js/bootstrap.js
docs/dist/js/bootstrap.js
+8
-6
docs/dist/js/bootstrap.min.js
docs/dist/js/bootstrap.min.js
+1
-1
No files found.
dist/js/bootstrap.js
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
()
{
...
...
dist/js/bootstrap.min.js
View file @
d0f76e41
This diff is collapsed.
Click to expand it.
docs/assets/js/customize.min.js
View file @
d0f76e41
This diff is collapsed.
Click to expand it.
docs/assets/js/raw-files.min.js
View file @
d0f76e41
This diff is collapsed.
Click to expand it.
docs/dist/js/bootstrap.js
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
()
{
...
...
docs/dist/js/bootstrap.min.js
View file @
d0f76e41
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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