diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-20 16:34:50 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-20 16:34:50 +0900 |
| commit | 000772340552c0f915d6852c9f0e5167fffb6085 (patch) | |
| tree | cef492bc74443a930f52916018aae03b182365d2 /packages/frontend/src/components | |
| parent | fix lint (diff) | |
| download | misskey-000772340552c0f915d6852c9f0e5167fffb6085.tar.gz misskey-000772340552c0f915d6852c9f0e5167fffb6085.tar.bz2 misskey-000772340552c0f915d6852c9f0e5167fffb6085.zip | |
fix lint
Diffstat (limited to 'packages/frontend/src/components')
| -rw-r--r-- | packages/frontend/src/components/MkMediaList.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/components/MkMediaList.vue b/packages/frontend/src/components/MkMediaList.vue index 3c066650d9..44a9d14a46 100644 --- a/packages/frontend/src/components/MkMediaList.vue +++ b/packages/frontend/src/components/MkMediaList.vue @@ -183,14 +183,14 @@ onMounted(() => { lightbox?.pswp?.element?.focus({ preventScroll: true, }); - history.pushState(null, '', '#pswp'); + window.history.pushState(null, '', '#pswp'); }); lightbox.on('destroy', () => { focusParent(activeEl, true, false); activeEl = null; if (window.location.hash === '#pswp') { - history.back(); + window.history.back(); } }); |