pinterest / widgets

JavaScript widgets, including the Pin It button.
Other
211 stars 88 forks source link

Calling the function defined in data-pin-build causes buttons to change size #25

Closed andymantell closed 9 years ago

andymantell commented 10 years ago

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

pinterest rebuild

kentbrew commented 10 years ago

That's super-interesting; I'll have to do some work to figure it out. Good bug!