Support » Plugins and Hacks » Hacks » Javascript error on pages without sharebar

  • If you take the sharebar off of pages and only leave it on posts it’s still including the js. This behavior is not recommended by wordrpess. Rather than rewrite this script I’ve added this line

    if(!jQuery(sharebar).offset())return false;

    of code to line 13 of sharebar.js to remove the error. It’s killing other scripts on my pages. Please fix this bug in the next version! Hopefully this helps others.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Javascript error on pages without sharebar’ is closed to new replies.