From d8670ac383d0ea9ff671b0cdf79334823941e954 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Ple=C5=A1a?= Date: Tue, 15 Jun 2021 10:56:55 +0200 Subject: [PATCH] Remove debugging code --- modules/ui/photoviewer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ui/photoviewer.js b/modules/ui/photoviewer.js index b8d8e0392..f21fd1079 100644 --- a/modules/ui/photoviewer.js +++ b/modules/ui/photoviewer.js @@ -19,9 +19,9 @@ export function uiPhotoviewer(context) { .append('button') .attr('class', 'thumb-hide') .on('click', function () { - //if (services.streetside) { services.streetside.hideViewer(context); } + if (services.streetside) { services.streetside.hideViewer(context); } if (services.mapillary) { services.mapillary.hideViewer(context); } - //if (services.openstreetcam) { services.openstreetcam.hideViewer(context); } + if (services.openstreetcam) { services.openstreetcam.hideViewer(context); } }) .append('div') .call(svgIcon('#iD-icon-close'));