Login button's href set to javascript:void(0);
-
Hi everyone,
I came across a strange issue and I haven’t been able to resolve it. Hoping someone might be able to help.
I had G+, Twitter, and Facebook social logins completely working, then somewhere along the line they just stopped working. I disabled all plugins, checked for console errors that might be affecting this, but no such luck getting the proper href back into the social login buttons.
Here’s what inspect element is showing up with:
<a rel="nofollow" href="javascript:void(0);" title="Connect with Facebook" class="btn btn-lg btn-block btn-facebook" data-provider="Facebook"however, oddly enough when loaded on an iphone the buttons work just fine. I inspected element via mobile (using adobe edge inspect) and can see the appropriate href showing up in there – as seen below:
<a rel="nofollow" href="http://mysite.com/wp-login.php?action=wordpress_social_authenticate&mode=login&provider=Facebook&redirect_to=http%3A%2F%2Fmysite.com%2F" title="Connect with Facebook" class="btn btn-lg btn-block btn-facebook" data-provider="Facebook"Anyone have any idea what might be causing this href javascript void(0) error? I’m out of ideas at this point and very confused as to why it would work fine on mobile but not when loaded on a desktop.
The topic ‘Login button's href set to javascript:void(0);’ is closed to new replies.