0
0
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:
Mark Otto 2012-01-05 16:03:05 -08:00
parent aa5342888b
commit 90e3a706ba

View File

@ -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
// ==================