Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
e24b46b7
Commit
e24b46b7
authored
12 years ago
by
mfansler
Browse files
Options
Download
Email Patches
Plain Diff
fixes
#5336
: reorder focus() call to avoid scrolling
parent
fa778792
1 merge request
!5549
fixes #5336: reorder focus() call to avoid scrolling
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
docs/assets/js/bootstrap-modal.js
+3
-4
docs/assets/js/bootstrap-modal.js
docs/assets/js/bootstrap.js
+4
-4
docs/assets/js/bootstrap.js
docs/assets/js/bootstrap.min.js
+2
-6
docs/assets/js/bootstrap.min.js
js/bootstrap-modal.js
+3
-4
js/bootstrap-modal.js
with
12 additions
and
18 deletions
+12
-18
docs/assets/js/bootstrap-modal.js
+
3
-
4
View file @
e24b46b7
...
...
@@ -70,13 +70,12 @@
that
.
$element
.
addClass
(
'
in
'
)
.
attr
(
'
aria-hidden
'
,
false
)
.
focus
()
that
.
enforceFocus
()
transition
?
that
.
$element
.
one
(
$
.
support
.
transition
.
end
,
function
()
{
that
.
$element
.
trigger
(
'
shown
'
)
})
:
that
.
$element
.
trigger
(
'
shown
'
)
that
.
$element
.
one
(
$
.
support
.
transition
.
end
,
function
()
{
that
.
$element
.
focus
().
trigger
(
'
shown
'
)
})
:
that
.
$element
.
focus
().
trigger
(
'
shown
'
)
})
}
...
...
@@ -232,4 +231,4 @@
})
})
}(
window
.
jQuery
);
\ No newline at end of file
}(
window
.
jQuery
);
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap.js
+
4
-
4
View file @
e24b46b7
...
...
@@ -794,13 +794,12 @@
that
.
$element
.
addClass
(
'
in
'
)
.
attr
(
'
aria-hidden
'
,
false
)
.
focus
()
that
.
enforceFocus
()
transition
?
that
.
$element
.
one
(
$
.
support
.
transition
.
end
,
function
()
{
that
.
$element
.
trigger
(
'
shown
'
)
})
:
that
.
$element
.
trigger
(
'
shown
'
)
that
.
$element
.
one
(
$
.
support
.
transition
.
end
,
function
()
{
that
.
$element
.
focus
().
trigger
(
'
shown
'
)
})
:
that
.
$element
.
focus
().
trigger
(
'
shown
'
)
})
}
...
...
@@ -956,7 +955,8 @@
})
})
}(
window
.
jQuery
);
/* ===========================================================
}(
window
.
jQuery
);
/* ===========================================================
* bootstrap-tooltip.js v2.1.2
* http://twitter.github.com/bootstrap/javascript.html#tooltips
* Inspired by the original jQuery.tipsy by Jason Frame
...
...
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap.min.js
+
2
-
6
View file @
e24b46b7
This diff is collapsed.
Click to expand it.
js/bootstrap-modal.js
+
3
-
4
View file @
e24b46b7
...
...
@@ -70,13 +70,12 @@
that
.
$element
.
addClass
(
'
in
'
)
.
attr
(
'
aria-hidden
'
,
false
)
.
focus
()
that
.
enforceFocus
()
transition
?
that
.
$element
.
one
(
$
.
support
.
transition
.
end
,
function
()
{
that
.
$element
.
trigger
(
'
shown
'
)
})
:
that
.
$element
.
trigger
(
'
shown
'
)
that
.
$element
.
one
(
$
.
support
.
transition
.
end
,
function
()
{
that
.
$element
.
focus
().
trigger
(
'
shown
'
)
})
:
that
.
$element
.
focus
().
trigger
(
'
shown
'
)
})
}
...
...
@@ -232,4 +231,4 @@
})
})
}(
window
.
jQuery
);
\ No newline at end of file
}(
window
.
jQuery
);
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
Menu
Explore
Projects
Groups
Snippets