forked from Botanical/BotanJS
		
	Dynamic contact button
This commit is contained in:
		@@ -105,14 +105,10 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
		contact = Dand.id( "menu_cont", true );
 | 
							contact = Dand.id( "menu_cont", true );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		if( window[ "recaptcha" ] )
 | 
							if( contact )
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			contact.addEventListener( "Click", loadContactForm );
 | 
								contact.addEventListener( "Click", loadContactForm );
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		else
 | 
					 | 
				
			||||||
		{
 | 
					 | 
				
			||||||
			contact.element.remove();
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Dand.id( "menu", true ).foreach(
 | 
							Dand.id( "menu", true ).foreach(
 | 
				
			||||||
			1, function( e )
 | 
								1, function( e )
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user