jQuery Conflict for Sharebar and Lightbox

Sharebar is my preferred plugin for social networking. It’s easily customizable even when Google Plus came out, adding a +1 button was a breeze.

Problem with it is, whenever I don’t activate it on pages, the lightbox-reliant images on those pages are opening up on another page instead of ‘lightboxing’ itself.

Solution there is to go to sharebar.js and find:

return jQuery(sharebar).offset().top;

Above it, add this line of code:

if(jQuery(sharebar).offset() != null)

You should be good to go

Hit enter to search or ESC to close