make facebook button respect locale
This commit is contained in:
parent
42906e9aad
commit
ad74456ab6
|
@ -16,6 +16,6 @@
|
||||||
var js, fjs = d.getElementsByTagName(s)[0];
|
var js, fjs = d.getElementsByTagName(s)[0];
|
||||||
if (d.getElementById(id)) return;
|
if (d.getElementById(id)) return;
|
||||||
js = d.createElement(s); js.id = id;
|
js = d.createElement(s); js.id = id;
|
||||||
js.src = "//connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.5";
|
js.src = "//connect.facebook.net/{{ $.Site.Params.locale }}/sdk.js#xfbml=1&version=v2.5";
|
||||||
fjs.parentNode.insertBefore(js, fjs);
|
fjs.parentNode.insertBefore(js, fjs);
|
||||||
}(document, 'script', 'facebook-jssdk'));</script>
|
}(document, 'script', 'facebook-jssdk'));</script>
|
||||||
|
|
Loading…
Reference in New Issue