Use globalThis instead of window (S7764)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -392,7 +392,7 @@ function handleClick(tagId) {
|
||||
isActive.value = tagId;
|
||||
|
||||
if (isSafeTagId(tagId)) {
|
||||
window.location.href = tagId;
|
||||
globalThis.location.href = tagId;
|
||||
} else {
|
||||
console.warn("Unsafe tagId: ", tagId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user