mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-01 12:45:38 +02:00
refactor(client): specify global scope
This commit is contained in:
@@ -211,7 +211,7 @@ export default defineComponent({
|
||||
contentClicking = true;
|
||||
window.addEventListener('mouseup', e => {
|
||||
// click イベントより先に mouseup イベントが発生するかもしれないのでちょっと待つ
|
||||
setTimeout(() => {
|
||||
window.setTimeout(() => {
|
||||
contentClicking = false;
|
||||
}, 100);
|
||||
}, { passive: true, once: true });
|
||||
|
||||
Reference in New Issue
Block a user