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
3074737d
Commit
3074737d
authored
Oct 17, 2012
by
billy gates
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5549 from mfansler/2.1.2-wip
fixes #5336: reorder focus() call to avoid scrolling
parents
e0a007b9
e24b46b7
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
18 deletions
+12
-18
docs/assets/js/bootstrap-modal.js
docs/assets/js/bootstrap-modal.js
+3
-4
docs/assets/js/bootstrap.js
docs/assets/js/bootstrap.js
+4
-4
docs/assets/js/bootstrap.min.js
docs/assets/js/bootstrap.min.js
+2
-6
js/bootstrap-modal.js
js/bootstrap-modal.js
+3
-4
No files found.
docs/assets/js/bootstrap-modal.js
View file @
3074737d
...
@@ -70,13 +70,12 @@
...
@@ -70,13 +70,12 @@
that
.
$element
that
.
$element
.
addClass
(
'
in
'
)
.
addClass
(
'
in
'
)
.
attr
(
'
aria-hidden
'
,
false
)
.
attr
(
'
aria-hidden
'
,
false
)
.
focus
()
that
.
enforceFocus
()
that
.
enforceFocus
()
transition
?
transition
?
that
.
$element
.
one
(
$
.
support
.
transition
.
end
,
function
()
{
that
.
$element
.
trigger
(
'
shown
'
)
})
:
that
.
$element
.
one
(
$
.
support
.
transition
.
end
,
function
()
{
that
.
$element
.
focus
().
trigger
(
'
shown
'
)
})
:
that
.
$element
.
trigger
(
'
shown
'
)
that
.
$element
.
focus
().
trigger
(
'
shown
'
)
})
})
}
}
...
...
docs/assets/js/bootstrap.js
View file @
3074737d
...
@@ -794,13 +794,12 @@
...
@@ -794,13 +794,12 @@
that
.
$element
that
.
$element
.
addClass
(
'
in
'
)
.
addClass
(
'
in
'
)
.
attr
(
'
aria-hidden
'
,
false
)
.
attr
(
'
aria-hidden
'
,
false
)
.
focus
()
that
.
enforceFocus
()
that
.
enforceFocus
()
transition
?
transition
?
that
.
$element
.
one
(
$
.
support
.
transition
.
end
,
function
()
{
that
.
$element
.
trigger
(
'
shown
'
)
})
:
that
.
$element
.
one
(
$
.
support
.
transition
.
end
,
function
()
{
that
.
$element
.
focus
().
trigger
(
'
shown
'
)
})
:
that
.
$element
.
trigger
(
'
shown
'
)
that
.
$element
.
focus
().
trigger
(
'
shown
'
)
})
})
}
}
...
@@ -956,7 +955,8 @@
...
@@ -956,7 +955,8 @@
})
})
})
})
}(
window
.
jQuery
);
/* ===========================================================
}(
window
.
jQuery
);
/* ===========================================================
* bootstrap-tooltip.js v2.1.2
* bootstrap-tooltip.js v2.1.2
* http://twitter.github.com/bootstrap/javascript.html#tooltips
* http://twitter.github.com/bootstrap/javascript.html#tooltips
* Inspired by the original jQuery.tipsy by Jason Frame
* Inspired by the original jQuery.tipsy by Jason Frame
...
...
docs/assets/js/bootstrap.min.js
View file @
3074737d
This diff is collapsed.
Click to expand it.
js/bootstrap-modal.js
View file @
3074737d
...
@@ -70,13 +70,12 @@
...
@@ -70,13 +70,12 @@
that
.
$element
that
.
$element
.
addClass
(
'
in
'
)
.
addClass
(
'
in
'
)
.
attr
(
'
aria-hidden
'
,
false
)
.
attr
(
'
aria-hidden
'
,
false
)
.
focus
()
that
.
enforceFocus
()
that
.
enforceFocus
()
transition
?
transition
?
that
.
$element
.
one
(
$
.
support
.
transition
.
end
,
function
()
{
that
.
$element
.
trigger
(
'
shown
'
)
})
:
that
.
$element
.
one
(
$
.
support
.
transition
.
end
,
function
()
{
that
.
$element
.
focus
().
trigger
(
'
shown
'
)
})
:
that
.
$element
.
trigger
(
'
shown
'
)
that
.
$element
.
focus
().
trigger
(
'
shown
'
)
})
})
}
}
...
...
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