File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 11import { defaultAssetsUrl } from "./default_assets_url" ;
22
3+ export const TUTORIAL_V1_URL = `${ defaultAssetsUrl } /tutorialv1.html` ;
4+
35export function launchTutorialv1 ( ) : void {
4- const tutoUrl = `${ defaultAssetsUrl } /tutorialv1.html` ;
5- console . info ( "Start onboarding application!" , tutoUrl ) ;
6+ console . info ( "Start onboarding application!" , TUTORIAL_V1_URL ) ;
67
78 console . info ( "Player tutorial done information: " , WA . player . state . tutorialDone ) ;
89 if ( WA . player . state . tutorialDone ) return ;
910
1011 //open modal and show onboarding tuto
1112 WA . ui . modal . openModal ( {
1213 title : "Welcome onboard!" ,
13- src : tutoUrl ,
14+ src : TUTORIAL_V1_URL ,
1415 allow : "fullscreen; clipboard-read; clipboard-write" ,
1516 allowApi : true ,
1617 position : "right" ,
You can’t perform that action at this time.
0 commit comments