MAPG-53 check if Core.googleLink is not null before trying to modify it

This commit is contained in:
Bence Pőcze 2020-05-22 23:32:17 +02:00
parent 4a1bb0fef6
commit 94037dda31

View File

@ -298,8 +298,10 @@
}
setTimeout(function () {
Core.googleLink.title = 'Google Maps'
Core.googleLink.href = 'https://maps.google.com/maps'
if (Core.googleLink) {
Core.googleLink.title = 'Google Maps';
Core.googleLink.href = 'https://maps.google.com/maps';
}
}, 1);
},