From: Mark Otto Date: Fri, 6 Jan 2012 00:03:05 +0000 (-0800) Subject: add jank js back to docs application.js for responsive dropdown in topbar X-Git-Tag: v2.0.0~6^2~366 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90e3a706ba8c01462516efd3c60cd124620950b9;p=thirdparty%2Fbootstrap.git add jank js back to docs application.js for responsive dropdown in topbar --- diff --git a/docs/assets/js/application.js b/docs/assets/js/application.js index eae84b138f..63791bd37d 100644 --- a/docs/assets/js/application.js +++ b/docs/assets/js/application.js @@ -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 // ==================