diff options
| author | tamaina <tamaina@hotmail.co.jp> | 2023-08-09 09:08:47 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-09 09:08:47 +0900 |
| commit | e6f3dd81ba4ad492158e278ecb0f9d9893bf2958 (patch) | |
| tree | c20e9671edd38da0bba9c42dd6c71263274014a7 /packages/frontend/src/scripts | |
| parent | fix(backend/ApNoteService): try retrieving again when failed by duplication (... (diff) | |
| download | sharkey-e6f3dd81ba4ad492158e278ecb0f9d9893bf2958.tar.gz sharkey-e6f3dd81ba4ad492158e278ecb0f9d9893bf2958.tar.bz2 sharkey-e6f3dd81ba4ad492158e278ecb0f9d9893bf2958.zip | |
fix(frontend): MkPopupMenuがドロワーで子メニューの出現と同時にpopupをresolveさせるのをやめさせる (#11441)
* fix(frontend): MkPopupMenuがドロワーで子メニューの出現と同時にpopupをresolveさせるのをやめさせる
* fix
* noCache
* :v:
* fix
* ????
* a
* a
* :v:
* fix emoji picker
* ?????
* close
* 1
* fix2
* :v:
* fix
* :v:
* :v:
* :v:
* preferClick
* :v:
* fix lint
* a
* rm nocache
Diffstat (limited to 'packages/frontend/src/scripts')
| -rw-r--r-- | packages/frontend/src/scripts/get-note-menu.ts | 4 | ||||
| -rw-r--r-- | packages/frontend/src/scripts/get-user-menu.ts | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/packages/frontend/src/scripts/get-note-menu.ts b/packages/frontend/src/scripts/get-note-menu.ts index 20cea45ee3..8e29fc0c9b 100644 --- a/packages/frontend/src/scripts/get-note-menu.ts +++ b/packages/frontend/src/scripts/get-note-menu.ts @@ -418,7 +418,9 @@ export function getNoteMenu(props: { const cleanup = () => { if (_DEV_) console.log('note menu cleanup', cleanups); - cleanups.forEach(cleanup => cleanup()); + for (const cl of cleanups) { + cl(); + } }; return { diff --git a/packages/frontend/src/scripts/get-user-menu.ts b/packages/frontend/src/scripts/get-user-menu.ts index 445560b0c3..69a6f75c12 100644 --- a/packages/frontend/src/scripts/get-user-menu.ts +++ b/packages/frontend/src/scripts/get-user-menu.ts @@ -330,7 +330,9 @@ export function getUserMenu(user: misskey.entities.UserDetailed, router: Router const cleanup = () => { if (_DEV_) console.log('user menu cleanup', cleanups); - cleanups.forEach(cleanup => cleanup()); + for (const cl of cleanups) { + cl(); + } }; return { |