Bw/video fb share (#32041)

* feat: video block fb share

* feat: video linkedin share
This commit is contained in:
Ben Warzeski
2023-04-07 15:22:33 -04:00
committed by GitHub
parent 714b6cb109
commit 0fb7a807e8

View File

@@ -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;
});