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:
@@ -14,18 +14,15 @@
|
|||||||
(function () {
|
(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
function TourStepDirective(focusLockService) {
|
function TourStepDirective() {
|
||||||
|
|
||||||
function link(scope, element, attrs, ctrl) {
|
function link(scope, element, attrs, ctrl) {
|
||||||
|
|
||||||
scope.close = function () {
|
scope.close = function () {
|
||||||
if (scope.onClose) {
|
if (scope.onClose) {
|
||||||
scope.onClose();
|
scope.onClose();
|
||||||
focusLockService.removeInertAttribute();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
focusLockService.addInertAttribute();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var directive = {
|
var directive = {
|
||||||
|
|||||||
Reference in New Issue
Block a user