Skip to content

Commit

Permalink
Linkedin Share Feature Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mann47 committed Nov 28, 2024
1 parent 0be9cd6 commit d08be30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/qsm-quiz.js
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,7 @@ function qmnSocialShare(network, mlw_qmn_social_text, mlw_qmn_title, facebook_id
"&" + "description=";
}
if (network === 'linkedin') {
url = "https://www.linkedin.com/sharing/share-offsite/?url=" + pageUrlEncoded;
url = "https://www.linkedin.com/sharing/share-offsite/?text=" + encodeURIComponent(mlw_qmn_social_text) + "&url=" + pageUrlEncoded;
}
if (network == 'twitter') {
url = "https://twitter.com/intent/tweet?text=" + encodeURIComponent(mlw_qmn_social_text);
Expand Down

0 comments on commit d08be30

Please sign in to comment.