diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-20 16:07:52 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-20 16:07:52 +0900 |
| commit | 7f534a41a65ec93a0eafd02796b782309b3d0702 (patch) | |
| tree | 56a7ba9d8fd48be173b4496db6dbd8f384dc7a81 /packages/frontend/src/components | |
| parent | Update eslint.config.js (diff) | |
| download | misskey-7f534a41a65ec93a0eafd02796b782309b3d0702.tar.gz misskey-7f534a41a65ec93a0eafd02796b782309b3d0702.tar.bz2 misskey-7f534a41a65ec93a0eafd02796b782309b3d0702.zip | |
fix lint
Diffstat (limited to 'packages/frontend/src/components')
| -rw-r--r-- | packages/frontend/src/components/MkEmbedCodeGenDialog.vue | 2 | ||||
| -rw-r--r-- | packages/frontend/src/components/global/MkA.vue | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/components/MkEmbedCodeGenDialog.vue b/packages/frontend/src/components/MkEmbedCodeGenDialog.vue index a4e9547f90..d18fe0ed0c 100644 --- a/packages/frontend/src/components/MkEmbedCodeGenDialog.vue +++ b/packages/frontend/src/components/MkEmbedCodeGenDialog.vue @@ -180,7 +180,7 @@ function applyToPreview() { nextTick(() => { if (currentPreviewUrl === embedPreviewUrl.value) { // URLが変わらなくてもリロード - iframeEl.value?.contentWindow?.location.reload(); + iframeEl.value?.contentWindow?.window.location.reload(); } }); } diff --git a/packages/frontend/src/components/global/MkA.vue b/packages/frontend/src/components/global/MkA.vue index 336160ec17..4004db5b12 100644 --- a/packages/frontend/src/components/global/MkA.vue +++ b/packages/frontend/src/components/global/MkA.vue @@ -87,7 +87,7 @@ function openWindow() { function nav(ev: MouseEvent) { if (behavior === 'browser') { - location.href = props.to; + window.location.href = props.to; return; } |