Tweet button 'tweets' but not the current quote

Tweet button 'tweets' but not the current quote
0

#1

Hi.

Trying to get my tweet button to tweet the current quote.
The tweet box appears but the message is only the Codepen link
not the current tweet.

Here is my codepen

David


#2

Where do you set currentQuote and currentAuthor?


#3

I found that using the twitter widget.js stopped any changes I tried to make to my tweet button. I found the culprit to be my anchor tag class of twitter-share-button. Once I removed that class i found I was able to modify its attributes with javascript. However, I had to make my own button from scratch.

Thats all I have to offer. Good luck!