Socialite icon indicating copy to clipboard operation
Socialite copied to clipboard

Pinterest not loading properly

Open w3nisar opened this issue 12 years ago • 7 comments

Hi, I am facing problem with pinterest button on my website,I can load only one pinterest button on my page with socialite.js,There are multiple pinterest buttons on my page. Also my site is not working properly as I am getting this error in IE 9 'Unable to get value of the property 'removeChild': object is null or undefined'. When checked this function (removeNetwork) is related to the pinterest extension. also in IE 8 a different error is shown on same line "el.parentNode" is null or not an object.

Can you please help me how can load multiple pinterest buttons on my site

Thanks

w3nisar avatar Nov 19 '12 13:11 w3nisar

Thanks for the report. Had a quick look and it appears that Pinterest is automatically removing their script once it has ran. Not sure why! Anyway, this breaks Socialite wich is trying to remove and reappend the script. Should be fixable, I'll try and get it done soon.

dbushell avatar Nov 19 '12 14:11 dbushell

Thanks again Dave!!

w3nisar avatar Nov 20 '12 10:11 w3nisar

Is there any progress on a fix for this? Thanks.

FellowshipAgency avatar Nov 22 '12 08:11 FellowshipAgency

@Rubious Not yet

w3nisar avatar Nov 22 '12 09:11 w3nisar

I've fixed the error.

However when loading a second Pinterest button their script seems to destroy existing buttons. This will need further research, it may not be possible anymore.

dbushell avatar Dec 04 '12 11:12 dbushell

So it's not possible to add and remove buttons on the same page with javscript? I have a page where you can choose the colour of a product and the Pinterest button updates so if they click it the correct image is pinned. It broke with their update to the buttons. Is this no longer possible?

FellowshipAgency avatar Dec 04 '12 12:12 FellowshipAgency