mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
cleanup on end tour
This commit is contained in:
@@ -51,8 +51,7 @@ angular.module('guideServices', []).
|
||||
$('.main-herobox').popover('destroy');
|
||||
var tour = new Tour({
|
||||
onEnd: function(){
|
||||
User.user.flags.showTour = false;
|
||||
User.log({op:'set',data:{'flags.showTour':false}});
|
||||
User.set('flags.showTour', false);
|
||||
}
|
||||
});
|
||||
tourSteps.forEach(function(step) {
|
||||
|
||||
Reference in New Issue
Block a user