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
75db70a6
Commit
75db70a6
authored
Jun 02, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '3.0.0-wip' of github.com:twitter/bootstrap into 3.0.0-wip
parents
8899c30f
a4c1248c
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
17 deletions
+15
-17
docs/assets/js/bootstrap.js
docs/assets/js/bootstrap.js
+7
-7
docs/assets/js/bootstrap.min.js
docs/assets/js/bootstrap.min.js
+1
-1
js/modal.js
js/modal.js
+7
-7
less/variables.less
less/variables.less
+0
-2
No files found.
docs/assets/js/bootstrap.js
View file @
75db70a6
...
@@ -872,18 +872,18 @@
...
@@ -872,18 +872,18 @@
Modal
.
prototype
.
enforceFocus
=
function
()
{
Modal
.
prototype
.
enforceFocus
=
function
()
{
$
(
document
)
$
(
document
)
.
off
(
'
focusin.bs.modal
'
)
// guard against infinite focus loop
.
off
(
'
focusin.bs.modal
'
)
// guard against infinite focus loop
.
on
(
'
focusin.bs.modal
'
,
function
(
e
)
{
.
on
(
'
focusin.bs.modal
'
,
$
.
proxy
(
function
(
e
)
{
if
(
this
.
$element
[
0
]
!==
e
.
target
&&
!
this
.
$element
.
has
(
e
.
target
).
length
)
{
if
(
this
.
$element
[
0
]
!==
e
.
target
&&
!
this
.
$element
.
has
(
e
.
target
).
length
)
{
this
.
$element
.
focus
()
this
.
$element
.
focus
()
}
}
},
this
)
},
this
)
)
}
}
Modal
.
prototype
.
escape
=
function
()
{
Modal
.
prototype
.
escape
=
function
()
{
if
(
this
.
isShown
&&
this
.
options
.
keyboard
)
{
if
(
this
.
isShown
&&
this
.
options
.
keyboard
)
{
this
.
$element
.
on
(
'
keyup.dismiss.bs.modal
'
,
function
(
e
)
{
this
.
$element
.
on
(
'
keyup.dismiss.bs.modal
'
,
$
.
proxy
(
function
(
e
)
{
e
.
which
==
27
&&
this
.
hide
()
e
.
which
==
27
&&
this
.
hide
()
},
this
)
},
this
)
)
}
else
if
(
!
this
.
isShown
)
{
}
else
if
(
!
this
.
isShown
)
{
this
.
$element
.
off
(
'
keyup.dismiss.bs.modal
'
)
this
.
$element
.
off
(
'
keyup.dismiss.bs.modal
'
)
}
}
...
...
docs/assets/js/bootstrap.min.js
View file @
75db70a6
This diff is collapsed.
Click to expand it.
js/modal.js
View file @
75db70a6
...
@@ -106,18 +106,18 @@
...
@@ -106,18 +106,18 @@
Modal
.
prototype
.
enforceFocus
=
function
()
{
Modal
.
prototype
.
enforceFocus
=
function
()
{
$
(
document
)
$
(
document
)
.
off
(
'
focusin.bs.modal
'
)
// guard against infinite focus loop
.
off
(
'
focusin.bs.modal
'
)
// guard against infinite focus loop
.
on
(
'
focusin.bs.modal
'
,
function
(
e
)
{
.
on
(
'
focusin.bs.modal
'
,
$
.
proxy
(
function
(
e
)
{
if
(
this
.
$element
[
0
]
!==
e
.
target
&&
!
this
.
$element
.
has
(
e
.
target
).
length
)
{
if
(
this
.
$element
[
0
]
!==
e
.
target
&&
!
this
.
$element
.
has
(
e
.
target
).
length
)
{
this
.
$element
.
focus
()
this
.
$element
.
focus
()
}
}
},
this
)
},
this
)
)
}
}
Modal
.
prototype
.
escape
=
function
()
{
Modal
.
prototype
.
escape
=
function
()
{
if
(
this
.
isShown
&&
this
.
options
.
keyboard
)
{
if
(
this
.
isShown
&&
this
.
options
.
keyboard
)
{
this
.
$element
.
on
(
'
keyup.dismiss.bs.modal
'
,
function
(
e
)
{
this
.
$element
.
on
(
'
keyup.dismiss.bs.modal
'
,
$
.
proxy
(
function
(
e
)
{
e
.
which
==
27
&&
this
.
hide
()
e
.
which
==
27
&&
this
.
hide
()
},
this
)
},
this
)
)
}
else
if
(
!
this
.
isShown
)
{
}
else
if
(
!
this
.
isShown
)
{
this
.
$element
.
off
(
'
keyup.dismiss.bs.modal
'
)
this
.
$element
.
off
(
'
keyup.dismiss.bs.modal
'
)
}
}
...
...
less/variables.less
View file @
75db70a6
...
@@ -131,8 +131,6 @@
...
@@ -131,8 +131,6 @@
@input-height-large: (@line-height-computed + (@padding-large-vertical * 2));
@input-height-large: (@line-height-computed + (@padding-large-vertical * 2));
@input-height-small: (@line-height-computed + (@padding-small-vertical * 2));
@input-height-small: (@line-height-computed + (@padding-small-vertical * 2));
@form-actions-bg: #f5f5f5;
// Dropdowns
// Dropdowns
// -------------------------
// -------------------------
...
...
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