Skip to content

Commit 712c6ad

Browse files
authored
Merge pull request #5928 from Countly/feature/self_tracking
Add additional check
2 parents 6a4a518 + ade12c2 commit 712c6ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/express/views/dashboard.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1975,7 +1975,7 @@ <h4><a href="#/analytics/events/key/{{encodeURIComponent this.name}}">{{this.nam
19751975
Countly.track_errors();
19761976

19771977
//display in app messages
1978-
if (Countly.content.enterContentZone) {
1978+
if (Countly.content && Countly.content.enterContentZone) {
19791979
Countly.content.enterContentZone();
19801980
}
19811981

@@ -2049,7 +2049,7 @@ <h4><a href="#/analytics/events/key/{{encodeURIComponent this.name}}">{{this.nam
20492049
});
20502050

20512051
//display in app messages
2052-
if (Countly2.content.enterContentZone) {
2052+
if (Countly2.content && Countly2.content.enterContentZone) {
20532053
Countly2.content.enterContentZone();
20542054
}
20552055

0 commit comments

Comments
 (0)