From ad7e7990e266187257758c32756e30da1858a4f6 Mon Sep 17 00:00:00 2001 From: LeJeu <64744459+le-jeu@users.noreply.github.com> Date: Mon, 15 Feb 2021 18:36:13 +0100 Subject: [PATCH] fixup! implement new portal data check in marker --- core/code/portal_marker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/code/portal_marker.js b/core/code/portal_marker.js index 5be3898ae..589fc6d73 100644 --- a/core/code/portal_marker.js +++ b/core/code/portal_marker.js @@ -83,7 +83,7 @@ L.PortalMarker = L.CircleMarker.extend({ // we got more details if (this._details.timestamp == details.timestamp) { - [mods, resonators, owner, artifactDetail, history].forEach(function (prop) { + ["mods", "resonators", "owner", "artifactDetail", "history"].forEach(function (prop) { if (details[prop]) this._details[prop] = details[prop]; }); // LEGACY - TO BE REMOVED AT SOME POINT! use .guid, .timestamp and .data instead