Update tarteaucitron.services.js

This commit is contained in:
lucmuller 2018-07-23 10:39:40 +02:00 committed by GitHub
parent 0da2c8f5e2
commit c35edea79d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -711,7 +711,7 @@ tarteaucitron.services.facebook = {
"cookies": [],
"js": function () {
"use strict";
tarteaucitron.fallback(['fb-post', 'fb-follow', 'fb-activity', 'fb-send', 'fb-share-button', 'fb-like'], '');
tarteaucitron.fallback(['fb-post', 'fb-follow', 'fb-activity', 'fb-send', 'fb-share-button', 'fb-like', 'fb-video'], '');
tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.0', 'facebook-jssdk');
if (tarteaucitron.isAjax === true) {
if (typeof FB !== "undefined") {
@ -722,7 +722,7 @@ tarteaucitron.services.facebook = {
"fallback": function () {
"use strict";
var id = 'facebook';
tarteaucitron.fallback(['fb-post', 'fb-follow', 'fb-activity', 'fb-send', 'fb-share-button', 'fb-like'], tarteaucitron.engage(id));
tarteaucitron.fallback(['fb-post', 'fb-follow', 'fb-activity', 'fb-send', 'fb-share-button', 'fb-like', 'fb-video'], tarteaucitron.engage(id));
}
};
@ -2230,4 +2230,4 @@ tarteaucitron.services.multiplegtag = {
});
});
}
};
};