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
b68b53dc
Commit
b68b53dc
authored
13 years ago
by
Jacob Thornton
Browse files
Options
Download
Email Patches
Plain Diff
rename escape method
parent
1cbda504
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/assets/js/bootstrap-modals.js
+3
-3
examples/assets/js/bootstrap-modals.js
with
3 additions
and
3 deletions
+3
-3
examples/assets/js/bootstrap-modals.js
+
3
-
3
View file @
b68b53dc
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
var
that
=
this
var
that
=
this
this
.
isOpen
=
true
this
.
isOpen
=
true
_private
.
onE
scape
.
call
(
this
)
_private
.
e
scape
.
call
(
this
)
_private
.
backdrop
.
call
(
this
)
_private
.
backdrop
.
call
(
this
)
this
.
$element
=
$
(
this
.
settings
.
content
)
this
.
$element
=
$
(
this
.
settings
.
content
)
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
this
.
isOpen
=
false
this
.
isOpen
=
false
_private
.
onE
scape
.
call
(
this
)
_private
.
e
scape
.
call
(
this
)
_private
.
backdrop
.
call
(
this
)
_private
.
backdrop
.
call
(
this
)
this
.
$element
.
removeClass
(
'
open
'
)
this
.
$element
.
removeClass
(
'
open
'
)
...
@@ -125,7 +125,7 @@
...
@@ -125,7 +125,7 @@
}
}
}
}
,
onE
scape
:
function
()
{
,
e
scape
:
function
()
{
var
that
=
this
var
that
=
this
if
(
this
.
isOpen
&&
this
.
settings
.
closeOnEscape
)
{
if
(
this
.
isOpen
&&
this
.
settings
.
closeOnEscape
)
{
$window
.
bind
(
'
keyup.modal.escape
'
,
function
(
e
)
{
$window
.
bind
(
'
keyup.modal.escape
'
,
function
(
e
)
{
...
...
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