Skip to content

Commit 5398d4e

Browse files
committed
Add additional check
1 parent 7f07305 commit 5398d4e

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)