forked from Botanical/BotanJS
Remove Contact if recaptcha does not exist
This commit is contained in:
@@ -104,7 +104,15 @@
|
|||||||
= "purple";
|
= "purple";
|
||||||
|
|
||||||
contact = Dand.id( "menu_cont", true );
|
contact = Dand.id( "menu_cont", true );
|
||||||
|
|
||||||
|
if( window[ "recaptcha" ] )
|
||||||
|
{
|
||||||
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