fix: revert the inert attribute on Tours since you are expected to be able to work with the background in certain steps

This commit is contained in:
Jacob Overgaard
2024-07-11 11:41:20 +02:00
parent c1bf3a7e15
commit d72fc5c4e8

View File

@@ -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 = {