Added onclick event to share link button on posts