title: Recaptcha is working on mobile, but not on desktop
body: <p>So, I have a <a href="https://www.fzrbtech.com" rel="nofollow noreferrer">website</a> and I've added a recaptcha to the contact form. I've used this code for the recaptcha and the contact form on multiple websites before, and it worked perfectly on those. But, for some reason, on this website, the recaptcha isn't working on the desktop version of the site.</p>
  
  <p>I've tried removing the old recaptcha and creating a new one. That didn't work.</p>
  
  <p>I thought that maybe because I had a different style of formatting for the mobile version and the desktop version on the same page, that it might be causing an error. But, when I deleted one of the recaptchas, I had the same result - mobile was fine and desktop was not.</p>
  
  <p>I tried it in different browsers to see if it was a chrome error, and even updated my chrome - it wasn't that either.</p>
  
  <p>I checked to see if anyone else had a similar issue and they claimed that <a href="https://stackoverflow.com/questions/43540974/recaptcha-appears-on-mobile-device-but-not-on-desktop-laptop">they were loading the recaptcha twice</a>. But I checked my files and I can't see anywhere it would be loading other than the google api link in the header.</p>
  
  <p>The header:</p>
  
  <pre><code>&lt;script src='https://www.google.com/recaptcha/api.js' async defer&gt;&lt;/script&gt;
  &lt;/head&gt;
  </code></pre>
  
  <p>The recaptcha section of my contact form:</p>
  
  <pre><code>&lt;div class = "row d-none d-sm-none d-md-block"&gt;
     &lt;div class = "col-md-6"&gt;
        &lt;div class="g-recaptcha" id = "captcha" name = "captcha" data-sitekey="SITE_KEY_HERE" style = "text-align:left;"&gt;&lt;/div&gt;
     &lt;/div&gt;
     &lt;div class = "col-md-6"&gt;
        &lt;div class = "submit" style = "text-align: right;"&gt;
           &lt;button id = "submitForm" type="submit" name = "submit" class="btn btn-lg"&gt;Send Message&lt;/button&gt;
        &lt;/div&gt;
     &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class = "row d-inline-block d-sm-inline-block d-md-none"&gt;
     &lt;div class = "col-sm-12 text-center"&gt;
        &lt;div class="g-recaptcha" id = "captcha" name = "captcha" data-sitekey="SITE_KEY_HERE" style = "text-align:center;"&gt;&lt;/div&gt;
     &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class = "row d-block d-sm-block d-md-none"&gt;
     &lt;div class = "col-sm-12 text-center"&gt;
        &lt;div class = "submit"&gt;
           &lt;button id = "submitForm" type="submit" name = "submit" class="btn btn-lg"&gt;Send Message&lt;/button&gt;
        &lt;/div&gt;
     &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I expected the user to be able to see a normal, recaptcha v2 'I am not a robot' checkbox, but I get: </p>
  
  <blockquote>
    <p>ERROR for site owner: Invalid domain for site key</p>
  </blockquote>
  
  <p>on the desktop version. It's working perfectly on the mobile version.</p>
  
  <p>Update: I even tried making unique recaptcha keys for the desktop and mobile version, but that didn't work either.</p>