Fix collapsible sidebar not working
This commit is contained in:
		
							
								
								
									
										4
									
								
								docs/_static/sidebar.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								docs/_static/sidebar.js
									
									
									
									
										vendored
									
									
								
							@@ -41,9 +41,9 @@ class Sidebar {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        icon.addEventListener('click', () => {
 | 
					        icon.addEventListener('click', () => {
 | 
				
			||||||
          if (icon.classList.contains('expanded')) {
 | 
					          if (icon.classList.contains('expanded')) {
 | 
				
			||||||
            collapseSection(icon);
 | 
					            this.collapseSection(icon);
 | 
				
			||||||
          } else {
 | 
					          } else {
 | 
				
			||||||
            expandSection(icon);
 | 
					            this.expandSection(icon);
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        })
 | 
					        })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user