doc-html/src/javascripts/pdoc/application.js
function() {
    var state = $H({
      activeTab: PDoc.Sidebar.getActiveTab(),
      menuScrollOffset: $('menu_pane').scrollTop,
      searchScrollOffset: $('search_results').scrollTop,
      searchValue: $('search').getValue()
    });
    
    return escape(state.toJSON());
  }
function() {
    var state = $H({
      activeTab: PDoc.Sidebar.getActiveTab(),
      menuScrollOffset: $('menu_pane').scrollTop,
      searchScrollOffset: $('search_results').scrollTop,
      searchValue: $('search').getValue()
    });
    
    return escape(state.toJSON());
  }
function ( ) { var state = $H ( { activeTab : PDoc . Sidebar . getActiveTab ( ) , menuScrollOffset : $ ( 'menu_pane' ) . scrollTop , searchScrollOffset : $ ( 'search_results' ) . scrollTop , searchValue : $ ( 'search' ) . getValue ( ) } ) ; return escape ( state . toJSON ( ) ) ; }
Remember the state of the sidebar so it can be restored on the next page.
Remember the state of the sidebar so it can be restored on the next page .