Title: Login button&#039;s href set to javascript:void(0);
Last modified: August 30, 2016

---

# Login button's href set to javascript:void(0);

 *  [corbinfraser](https://wordpress.org/support/users/corbinfraser/)
 * (@corbinfraser)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/login-buttons-href-set-to-javascriptvoid0/)
 * 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.
 * [https://wordpress.org/plugins/wordpress-social-login/](https://wordpress.org/plugins/wordpress-social-login/)

The topic ‘Login button's href set to javascript:void(0);’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-social-login_a1a2bc.svg)
 * [WordPress Social Login](https://wordpress.org/plugins/wordpress-social-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-social-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-social-login/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-social-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-social-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-social-login/reviews/)

## Tags

 * [href](https://wordpress.org/support/topic-tag/href/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [void](https://wordpress.org/support/topic-tag/void/)

 * 0 replies
 * 1 participant
 * Last reply from: [corbinfraser](https://wordpress.org/support/users/corbinfraser/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/login-buttons-href-set-to-javascriptvoid0/)
 * Status: not resolved