Skip to content

Commit

Permalink
Merge pull request #4809 from fritruc/4804_Mapillary_photo_overlay_ca…
Browse files Browse the repository at this point in the history
…n_t_get_disabled

do not stop mapillary autoplaying if _mlyViewer is not initialized (closes #4804)
  • Loading branch information
bhousel authored Feb 16, 2018
2 parents 4a7fa80 + ca493ec commit 725099e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/services/mapillary.js
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ export default {
hideViewer: function() {
_mlySelectedImage = null;

if (!_mlyFallback) {
if (!_mlyFallback && _mlyViewer) {
_mlyViewer.getComponent('sequence').stop();
}

Expand Down

0 comments on commit 725099e

Please sign in to comment.