I have defined data-pin-build so that I can have a function to call when adding in pinterest buttons dynamically, as I believe is the purpose of this feature. However when I call this function, all the existing pinterest buttons in the page decrease in size to the smaller variant.
I have defined data-pin-build so that I can have a function to call when adding in pinterest buttons dynamically, as I believe is the purpose of this feature. However when I call this function, all the existing pinterest buttons in the page decrease in size to the smaller variant.
Demo here (Press "add a button" to see bug): http://codepen.io/andymantell/pen/hLBdj