Advertisement
rijarob

Add Link on Web Receipt

May 17th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. {% if context == "receipt" %}
  2. <script>
  3. FC.client.on("ready.done", addTwitter);
  4. function addTwitter() {
  5. $( ".fc-receipt-action.fc-receipt-action--continue" ).after( "<a class='twitter-share-button' href='https://twitter.com/intent/tweet'>Tweet</a>" );
  6. }
  7. </script>
  8. {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement