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'));