Merge pull request #978 from simondaigre/patch-2

Add snapchatMore initialization
This commit is contained in:
Amauri CHAMPEAUX 2022-08-08 13:51:35 +02:00 committed by GitHub
commit d215a536c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -81,6 +81,10 @@ tarteaucitron.services.snapchat = {
window.snaptr('track', 'PAGE_VIEW');
tarteaucitron.addScript('https://sc-static.net/scevent.min.js');
if (typeof tarteaucitron.user.snapchatMore === 'function') {
tarteaucitron.user.snapchatMore();
}
}
};