Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
forgetso committed Mar 28, 2024
1 parent 5be53f1 commit 00a481d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions assets/js/general.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,14 +210,6 @@ const general = function( $ ) {
if ( ! modes.hasOwnProperty( mode ) ) {
return;
}
console.log("mode live", PROCAPTCHAGeneralObject.modeLive)
// if ( mode === PROCAPTCHAGeneralObject.modeLive ) {
// $siteKey.attr( 'disabled', false );
// $secretKey.attr( 'disabled', false );
// } else {
// $siteKey.attr( 'disabled', true );
// $secretKey.attr( 'disabled', true );
// }

const sitekey = modes[ mode ];
ProcaptchaUpdate( { sitekey } );
Expand Down

0 comments on commit 00a481d

Please sign in to comment.