Skip to content

Commit

Permalink
fixes #4804: _mlyViewer may be uninitialized
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordane Pelloux-Prayer committed Feb 16, 2018
1 parent 4a7fa80 commit 85ae724
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 85ae724

Please sign in to comment.