Browse Source

Merge pull request #978 from simondaigre/patch-2

Add snapchatMore initialization
Amauri CHAMPEAUX 2 years ago
parent
commit
d215a536c2
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tarteaucitron.services.js

+ 4 - 0
tarteaucitron.services.js

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