Commit 3d0fa1c
committed
refactor: use globalThis instead of window for location.reload
Replace window.location.reload() with globalThis.location.reload() for consistency with modern JavaScript best practices. All window references should use globalThis for better cross-environment compatibility.
SonarQube: Addresses javascript:S77641 parent 87e6f9a commit 3d0fa1c
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
478 | | - | |
| 478 | + | |
479 | 479 | | |
480 | 480 | | |
481 | 481 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
478 | | - | |
| 478 | + | |
479 | 479 | | |
480 | 480 | | |
481 | 481 | | |
| |||
0 commit comments