fixes #4804: do not stop mapillary autoplaying if _mlyViewer is not initialized

This commit is contained in:
Jordane Pelloux-Prayer
2018-02-16 12:57:00 +01:00
parent 4a7fa80225
commit ca493ec47c
+1 -1
View File
@@ -491,7 +491,7 @@ export default {
hideViewer: function() {
_mlySelectedImage = null;
if (!_mlyFallback) {
if (!_mlyFallback && _mlyViewer) {
_mlyViewer.getComponent('sequence').stop();
}