From 0fb7a807e84a33ed64e4c9b00a3ede16a1121eed Mon Sep 17 00:00:00 2001 From: Ben Warzeski Date: Fri, 7 Apr 2023 15:22:33 -0400 Subject: [PATCH] Bw/video fb share (#32041) * feat: video block fb share * feat: video linkedin share --- lms/templates/video.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/templates/video.html b/lms/templates/video.html index 86ac2e6509..af361db82d 100644 --- a/lms/templates/video.html +++ b/lms/templates/video.html @@ -170,7 +170,7 @@ from openedx.core.djangolib.js_utils import ( utm_campaign: 'social-share-exp', }); var url = encodeURIComponent(this.href + "?" + utmQuery); - const facebookUrl = 'https://www.facebook.com/sharer/sharer.php?u' + url; + const facebookUrl = 'https://www.facebook.com/sharer/sharer.php?u=' + url; window.open(facebookUrl,'targetWindow','toolbar=no,location=0,status=no,menubar=no,scrollbars=yes,resizable=yes,width=600,height=400'); return false; });