mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 09:39:23 +00:00
show tour only once
This commit is contained in:
parent
0786fe90f9
commit
e6021d9cf8
1 changed files with 1 additions and 0 deletions
|
|
@ -51,6 +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}});
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue