mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 01:51:40 -05:00
Small error fix when mixpanel's not configured
This commit is contained in:
parent
4b9b0f8e0d
commit
1b6e18a1db
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ getCurrentUserEmail = function(){
|
|||
|
||||
trackEvent = function(event, properties){
|
||||
var properties= (typeof properties === 'undefined') ? {} : properties;
|
||||
if(typeof mixpanel != 'undefined'){
|
||||
if(typeof mixpanel.track != 'undefined'){
|
||||
mixpanel.track(event, properties);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue