Closed singpolyma closed 8 years ago
Ha! Indeed, the button can be customized in any way you want though so you can add multiple buttons to a single page... Please, see the docs.
Ok, I'll try it again, but looking at the code I'm not sure how this is possible... the code is never told what button was pushed or anything at all...
re-read the code and think I found what I was doing wrong. sorry for the noise
Ha! Well, happy this is resolved :) if you can think of anything we can do to make the docs more obvious, please, let me know!
The docs specifically say the the obfuscated snippet loads a particular js file. But do not mention that it also assigns the button onto a global variable that said script expects.
Right now the code detects the feed to be the current page, or looks for a subtome button on the page and uses the data- attributes... but if I have multiple buttons this will not work.