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
1 changed files with 11 additions and 0 deletions

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