forked from Botanical/BotanJS
Remove Contact if recaptcha does not exist
This commit is contained in:
parent
3db2ae75e1
commit
ead452777e
@ -104,7 +104,15 @@
|
||||
= "purple";
|
||||
|
||||
contact = Dand.id( "menu_cont", true );
|
||||
|
||||
if( window[ "recaptcha" ] )
|
||||
{
|
||||
contact.addEventListener( "Click", loadContactForm );
|
||||
}
|
||||
else
|
||||
{
|
||||
contact.element.remove();
|
||||
}
|
||||
|
||||
Dand.id( "menu", true ).foreach(
|
||||
1, function( e )
|
||||
|
Loading…
Reference in New Issue
Block a user