Commit 3af0103e authored by Gaurav Kapoor's avatar Gaurav Kapoor
Browse files

Issue #3315677: Uncaught ReferenceError: FALSE is not defined

parent 693c3af6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 () {
@@ -64,7 +64,7 @@
        });
      }
      // Mark this user as being human.
      drupalSettings.antibot.human = TRUE;
      drupalSettings.antibot.human = true;
    }
  };
})(Drupal, drupalSettings);