From ca493ec47c8428ce22e208a6e13e647325f27cf9 Mon Sep 17 00:00:00 2001 From: Jordane Pelloux-Prayer Date: Fri, 16 Feb 2018 12:57:00 +0100 Subject: [PATCH] fixes #4804: do not stop mapillary autoplaying if _mlyViewer is not initialized --- modules/services/mapillary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/mapillary.js b/modules/services/mapillary.js index 287c892b1..2c7bedf3c 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(); }