addthis and raphael-min.js conflict in safari

anupma Jul 24, 2012 01:40PM EDT

I am using raphael-min.js library as well as addthis for social media buttons( facebook, twitter and linkedin)
It works fine in Chrome and Firefox but the buttons dont render in Safari. I get the error
TypeError: 'undefined' is not a function (evaluating '(l.className||"").indexOf(s)') in the error console

Loading the raphael-min.js doesnt work.

If I dont use raphael-min.js it works fine.

Any help would be greatly appreciated

Up 0 Rated Down
Paul (AddThis Happiness Specialist) Jul 24, 2012 04:54PM EDT
Have you tried moving the AddThis JavaScript to above where the raphael-min.js is included?

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Still need help?


General Topics

 

Developers