Improve code as per Sonar suggestions (#22224)
This commit is contained in:
committed by
GitHub
parent
0292f66365
commit
ca98529bd2
File diff suppressed because one or more lines are too long
@@ -17,7 +17,7 @@ function renderConfigError(message: string): void {
|
||||
const toHide = document.getElementsByClassName("mx_HomePage_container");
|
||||
const errorContainers = document.getElementsByClassName(
|
||||
"mx_HomePage_errorContainer",
|
||||
) as HTMLCollectionOf<HTMLDialogElement>;
|
||||
) as HTMLCollectionOf<HTMLDivElement>;
|
||||
|
||||
for (const e of toHide) {
|
||||
// We have to clear the content because .style.display='none'; doesn't work
|
||||
|
||||
Reference in New Issue
Block a user