Commit 90e3a706 authored by Mark Otto's avatar Mark Otto

add jank js back to docs application.js for responsive dropdown in topbar

parent aa534288
...@@ -4,6 +4,7 @@ $(function(){ ...@@ -4,6 +4,7 @@ $(function(){
// IT'S ALL JUST JUNK FOR OUR DOCS! // IT'S ALL JUST JUNK FOR OUR DOCS!
// ++++++++++++++++++++++++++++++++++++++++++ // ++++++++++++++++++++++++++++++++++++++++++
// Hide the Mobile Safari address bar once loaded // Hide the Mobile Safari address bar once loaded
// ============================================== // ==============================================
...@@ -13,6 +14,16 @@ $(function(){ ...@@ -13,6 +14,16 @@ $(function(){
window.scrollTo(0, 1); window.scrollTo(0, 1);
}, 0); }, 0);
// Docs topbar nav
// ===============
$('.nav .active').on('click', function (e) {
e.preventDefault()
$(this).siblings().toggle()
});
// table sort example // table sort example
// ================== // ==================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment