Add Facebook page
This commit is contained in:
parent
5217dbe9c2
commit
e982159869
|
|
@ -514,8 +514,8 @@ tarteaucitron.services.facebooklikebox = {
|
||||||
"cookies": [],
|
"cookies": [],
|
||||||
"js": function () {
|
"js": function () {
|
||||||
"use strict";
|
"use strict";
|
||||||
tarteaucitron.fallback(['fb-like-box'], '');
|
tarteaucitron.fallback(['fb-like-box', 'fb-page'], '');
|
||||||
tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.0', 'facebook-jssdk');
|
tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.3', 'facebook-jssdk');
|
||||||
if (tarteaucitron.isAjax === true) {
|
if (tarteaucitron.isAjax === true) {
|
||||||
if (typeof FB !== "undefined") {
|
if (typeof FB !== "undefined") {
|
||||||
FB.XFBML.parse();
|
FB.XFBML.parse();
|
||||||
|
|
@ -525,7 +525,7 @@ tarteaucitron.services.facebooklikebox = {
|
||||||
"fallback": function () {
|
"fallback": function () {
|
||||||
"use strict";
|
"use strict";
|
||||||
var id = 'facebooklikebox';
|
var id = 'facebooklikebox';
|
||||||
tarteaucitron.fallback(['fb-like-box'], tarteaucitron.engage(id));
|
tarteaucitron.fallback(['fb-like-box', 'fb-page'], tarteaucitron.engage(id));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue