From 16ed2fa73adf87b44e87f1dfbb1a4f49073f545d Mon Sep 17 00:00:00 2001 From: Sylvain Date: Tue, 18 Feb 2020 17:39:47 +0100 Subject: [PATCH] isolate welcome tour --- app/assets/javascripts/controllers/home.js | 2 +- app/views/application/index.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/controllers/home.js b/app/assets/javascripts/controllers/home.js index b9f0270fc..99e4a1c1f 100644 --- a/app/assets/javascripts/controllers/home.js +++ b/app/assets/javascripts/controllers/home.js @@ -62,7 +62,7 @@ Application.Controllers.controller('HomeController', ['$scope', '$stateParams', const setupWelcomeTour = function () { // get the tour defined by the ui-tour directive - const uitour = uiTourService.getTour(); + const uitour = uiTourService.getTourByName('welcome'); // add the steps uitour.createStep({ selector: 'body', diff --git a/app/views/application/index.html.erb b/app/views/application/index.html.erb index eb148dcfe..5fc78b03d 100644 --- a/app/views/application/index.html.erb +++ b/app/views/application/index.html.erb @@ -92,7 +92,7 @@ '" ui-tour-use-hotkeys="true"