Fixed issue where element didn't exist in the config Stimulus controller. (#15408)
This commit is contained in:
parent
4d3237ecfb
commit
52ec967de5
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ export default class ConfigController extends Controller {
|
|||
const element = document.querySelector(
|
||||
`${window.location.hash} .card-body`,
|
||||
);
|
||||
element.classList.add('show');
|
||||
element?.classList.add('show');
|
||||
}
|
||||
|
||||
// GENERAL FUNCTIONS START
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue