MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / collapse_sidebar

Function collapse_sidebar

doc/static/sidebar.js:68–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66 }
67
68 function collapse_sidebar() {
69 sidebarwrapper.hide();
70 sidebar.css('width', ssb_width_collapsed);
71 bodywrapper.css('margin-left', bw_margin_collapsed);
72 sidebarbutton.css({
73 'margin-left': '0',
74 'height': bodywrapper.height(),
75 'border-radius': '5px'
76 });
77 sidebarbutton.find('span').text('»');
78 sidebarbutton.attr('title', _('Expand sidebar'));
79 document.cookie = 'sidebar=collapsed';
80 }
81
82 function expand_sidebar() {
83 bodywrapper.css('margin-left', bw_margin_expanded);

Callers 2

toggle_sidebarFunction · 0.85
set_position_from_cookieFunction · 0.85

Calls 1

findMethod · 0.45

Tested by

no test coverage detected