Dynamic contact button

This commit is contained in:
斟酌 鵬兄 2022-09-02 00:52:50 +08:00
parent ead452777e
commit 3d05f82767

View File

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