Remove Contact if recaptcha does not exist

This commit is contained in:
斟酌 鵬兄 2022-09-02 00:10:53 +08:00
parent 3db2ae75e1
commit ead452777e

View File

@ -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 )