summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components
diff options
context:
space:
mode:
authorsyuilo <4439005+syuilo@users.noreply.github.com>2025-03-20 16:34:50 +0900
committersyuilo <4439005+syuilo@users.noreply.github.com>2025-03-20 16:34:50 +0900
commit000772340552c0f915d6852c9f0e5167fffb6085 (patch)
treecef492bc74443a930f52916018aae03b182365d2 /packages/frontend/src/components
parentfix lint (diff)
downloadmisskey-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.vue4
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();
}
});