mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
add jank js back to docs application.js for responsive dropdown in topbar
This commit is contained in:
parent
aa5342888b
commit
90e3a706ba
@ -4,6 +4,7 @@ $(function(){
|
||||
// IT'S ALL JUST JUNK FOR OUR DOCS!
|
||||
// ++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
|
||||
// Hide the Mobile Safari address bar once loaded
|
||||
// ==============================================
|
||||
|
||||
@ -13,6 +14,16 @@ $(function(){
|
||||
window.scrollTo(0, 1);
|
||||
}, 0);
|
||||
|
||||
|
||||
// Docs topbar nav
|
||||
// ===============
|
||||
|
||||
$('.nav .active').on('click', function (e) {
|
||||
e.preventDefault()
|
||||
$(this).siblings().toggle()
|
||||
});
|
||||
|
||||
|
||||
// table sort example
|
||||
// ==================
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user