Magnific gallery popup conflicts with RRSSB sharing buttons script

Hey guys, noticed a weird issue where I was trying to implement RRSSB into BB theme. Twitter and Pinterest buttons fire MF gallery and cause “image not found” issue.

This is the RRSSB script, it’s a small script:
https://github.com/kni-labs/rrssb/blob/master/js/rrssb.js

This is their demo: http://kurtnoble.com/labs/rrssb/

Will post demo page in private shortly. Simply click on twitter and/or pinterest, you’ll see the issue.

[Content Hidden]

Hey Viktor,

So the problem here is that the links you have for Twitter and Pinterest contain a file extension, .png, triggering the MagnificPopup. We’ll be releasing an update for the theme next week which should fix this issue. In the meantime, you can patch your site up by following the instructions on the thread below. :slight_smile:
http://forum.wpbeaverbuilder.com/support/q/lightbox-opens-links-if-they-start-with/#post-66262

Ben