Project

General

Profile

« Previous | Next » 

Revision 54852

[Trunk]
Add checks when location or document is used.
Get environment from properties file instead of domain

Invite, Subscribe, Manage Buttons: Smaller buttons, smaller icons

View differences:

statistics.component.ts
97 97
          this.route.queryParams.subscribe(
98 98
            communityId => {
99 99
                  this.communityId = communityId['communityId'];
100
                  if(!this.communityId){
100
                  if(!this.communityId && typeof document !== 'undefined'){
101 101
                    this.communityId  = ConnectHelper.getCommunityFromDomain(document.location.hostname);
102 102
                  }
103 103
                  if(this.currentMode == "showInMonitor" && this.properties.enablePiwikTrack && (typeof document !== 'undefined')){

Also available in: Unified diff