Merge pull request #169 from jameskopacz/jameskopacz-patch-2
"challengeName is not defined" fix
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
challengeName = typeof challengeName !== undefined ? challengeName : 'Untitled';
|
var challengeName = typeof challengeName !== undefined ? challengeName : 'Untitled';
|
||||||
if (challengeName) {
|
if (challengeName) {
|
||||||
ga('send', 'event', 'Challenge', 'load', challengeName);
|
ga('send', 'event', 'Challenge', 'load', challengeName);
|
||||||
}
|
}
|
||||||
@ -331,4 +331,4 @@ profileValidation.directive('uniqueEmail', ['$http', function($http) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
Reference in New Issue
Block a user