Skip to content

Commit

Permalink
Fixed issue: Tour couldn't be started anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
lacrioque committed Oct 24, 2017
1 parent 483fb46 commit 62c2ecf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion assets/packages/lstutorial/build/lstutorial.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ const TourLibrary = function () {
},

clearActiveTour = () => {
if (typeof _actionActiveTour === 'object')
if (typeof _actionActiveTour === 'object' && _actionActiveTour !== null) {
_actionActiveTour.end();
}

_setNoTourActive();
},
Expand Down
2 changes: 1 addition & 1 deletion assets/packages/lstutorial/build/lstutorial.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/packages/lstutorial/build/lstutorial.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion assets/packages/lstutorial/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ const TourLibrary = function () {
},

clearActiveTour = () => {
if (typeof _actionActiveTour === 'object')
if (typeof _actionActiveTour === 'object' && _actionActiveTour !== null) {
_actionActiveTour.end();
}

_setNoTourActive();
},
Expand Down

0 comments on commit 62c2ecf

Please sign in to comment.