Skip to content

Commit

Permalink
Merge pull request #2729 from QuizandSurveyMaster/CU-86cx5gncd-Fix-Li…
Browse files Browse the repository at this point in the history
…nkedin-Share-Issues

Linkedin Share Feature Fixes
  • Loading branch information
zubairraeen authored Nov 28, 2024
2 parents 08b1628 + d08be30 commit d65910b
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 d65910b

Please sign in to comment.