From d72fc5c4e83c71dfee73b45fc2eacf5158a040e6 Mon Sep 17 00:00:00 2001 From: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com> Date: Thu, 11 Jul 2024 11:41:20 +0200 Subject: [PATCH] fix: revert the `inert` attribute on Tours since you are expected to be able to work with the background in certain steps --- .../components/application/umbtour/umbtourstep.directive.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/application/umbtour/umbtourstep.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/application/umbtour/umbtourstep.directive.js index 53ff989c7d..c54f907d44 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/components/application/umbtour/umbtourstep.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/application/umbtour/umbtourstep.directive.js @@ -14,18 +14,15 @@ (function () { 'use strict'; - function TourStepDirective(focusLockService) { + function TourStepDirective() { function link(scope, element, attrs, ctrl) { scope.close = function () { if (scope.onClose) { scope.onClose(); - focusLockService.removeInertAttribute(); } } - - focusLockService.addInertAttribute(); } var directive = {