Hey,
If somebody can help me to understand how to not activate the tweet button, if the quote is not generated yet. I know there are other workarounds, but I just want the tweet button do nothing unless the quote is generated. http://codepen.io/andreyivanov86/pen/xqLdRM
Thank you in advance.
Hello there!
Have you considered toggling the visibility of the Tweet button using the click event for #getQuote? That way you can also solve the issue of not having a useless Tweet button at the beginning, too!
Hint:
$("#tweet").css("visibility", "visible")
Good luck!
EDIT: missed some quotation marks!
1 Like
Thank you for your reply. It turned out the best solution.
1 Like