mirror of
				https://github.com/privacyguides/privacyguides.org.git
				synced 2025-11-04 13:27:53 +00:00 
			
		
		
		
	Navbar autocollapse on mobile (#723)
* Implements navbar auto-collapse feature * Fixed formatting
This commit is contained in:
		
				
					committed by
					
						
						Samuel Shifterovich
					
				
			
			
				
	
			
			
			
						parent
						
							20de8924c2
						
					
				
				
					commit
					bef616e51a
				
			@@ -176,6 +176,12 @@
 | 
				
			|||||||
  $(function () {
 | 
					  $(function () {
 | 
				
			||||||
    $("[data-toggle='tooltip']").tooltip();
 | 
					    $("[data-toggle='tooltip']").tooltip();
 | 
				
			||||||
  });
 | 
					  });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  $('.navbar a').not(".dropdown-toggle").click(function (e) {
 | 
				
			||||||
 | 
					    if ($(".navbar-toggler").is(":visible")) {
 | 
				
			||||||
 | 
					      $('.navbar-collapse').collapse('toggle');
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  });
 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<!--
 | 
					<!--
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user