Loading js/antibot.js +2 −2 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ Drupal.behaviors.antibot = { attach: function (context) { // Assume the user is not human, despite JS being enabled. drupalSettings.antibot.human = FALSE; drupalSettings.antibot.human = false; // Wait for a mouse to move, indicating they are human. document.body.addEventListener('mousemove', function () { Loading Loading @@ -64,7 +64,7 @@ }); } // Mark this user as being human. drupalSettings.antibot.human = TRUE; drupalSettings.antibot.human = true; } }; })(Drupal, drupalSettings); Loading
js/antibot.js +2 −2 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ Drupal.behaviors.antibot = { attach: function (context) { // Assume the user is not human, despite JS being enabled. drupalSettings.antibot.human = FALSE; drupalSettings.antibot.human = false; // Wait for a mouse to move, indicating they are human. document.body.addEventListener('mousemove', function () { Loading Loading @@ -64,7 +64,7 @@ }); } // Mark this user as being human. drupalSettings.antibot.human = TRUE; drupalSettings.antibot.human = true; } }; })(Drupal, drupalSettings);