diff --git a/modules/services/mapillary.js b/modules/services/mapillary.js index 287c892b1a3..2c7bedf3c05 100644 --- a/modules/services/mapillary.js +++ b/modules/services/mapillary.js @@ -491,7 +491,7 @@ export default { hideViewer: function() { _mlySelectedImage = null; - if (!_mlyFallback) { + if (!_mlyFallback && _mlyViewer) { _mlyViewer.getComponent('sequence').stop(); }