Skip to content

Commit

Permalink
UHF-11278: Fixed wrong variable name in closable-surveys.js
Browse files Browse the repository at this point in the history
  • Loading branch information
teroelonen committed Jan 24, 2025
1 parent 5b274e2 commit 86075ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/js/closable-surveys.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/js/closable-surveys.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ import LocalStorageManager from './localStorageManager';
mainContent && mainContent.removeAttribute('inert');
}

if (skipToMain && !skipToMain.hasAttribute('inert') && skipToMain) {
if (skipToMain && !skipToMain.hasAttribute('inert') && surveyContainer) {
skipToMain.setAttribute('inert', '');
} else {
// eslint-disable-next-line no-unused-expressions
Expand Down

0 comments on commit 86075ba

Please sign in to comment.