Sha256: 37497f8b1d1cbe1754657b546b9273c40217e898ae07c562b7d9b6f65b835c7b
Contents?: true
Size: 938 Bytes
Versions: 4
Compression:
Stored size: 938 Bytes
Contents
$(function(){ $("a#nav_dashboard_link").click(function(e){ e.preventDefault(); $("#content_sidebar").toggleClass('toggle'); // Expand #main_content down to fit the exposed sidebar $("#main_content").css('height', $('#content_sidebar').height() + $('#main_topbar').height() ); $('#content').toggleClass('toggle'); // $(this).toggleClass('active'); }); // Filter page sidebar $('#sidebar_page_search').search('.page_link', function(on) { on.all(function(results) { var size = results ? results.size() : 0 }); on.reset(function() { $('#sidebar_page_search_none').hide(); $('.page_link').show(); }); on.empty(function() { $('#sidebar_page_search_none').show(); $('.page_link').hide(); }); on.results(function(results) { $('#sidebar_page_search_none').hide(); $('.page_link').hide(); results.show(); }); }); });
Version data entries
4 entries across 4 versions & 1 rubygems