Socialite
Socialite copied to clipboard
Pinterest not loading properly
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
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.
Thanks again Dave!!
Is there any progress on a fix for this? Thanks.
@Rubious Not yet
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.
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?