1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-08 06:55:28 +02:00

Merge branch 'master' into enes-tweaks

This commit is contained in:
EnesAlili 2016-06-16 18:22:45 +01:00
commit 8e2364ab64

View file

@ -24,7 +24,7 @@ export default Ember.Service.extend({
},
record(id) {
if (!this.get('enabled')) {
if (!this.get('enabled') || is.empty(this.get('appId'))) {
return;
}
@ -32,6 +32,8 @@ export default Ember.Service.extend({
this.start();
}
console.log();
Intercom('trackEvent', id); //jshint ignore: line
Intercom('update'); //jshint ignore: line
},