mirror of
https://github.com/misskey-dev/misskey
synced 2024-12-24 19:48:26 +09:00
Fix bug of c3ae6f3a4
This commit is contained in:
parent
e2a9a0ff3d
commit
99209d36e1
@ -300,8 +300,8 @@ export function modalMenu(items: any[], src?: HTMLElement, options?: { align?: s
|
|||||||
resolve();
|
resolve();
|
||||||
dispose();
|
dispose();
|
||||||
},
|
},
|
||||||
}).then(_dispose => {
|
}).then(res => {
|
||||||
dispose = _dispose;
|
dispose = res.dispose;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -318,8 +318,8 @@ export function contextMenu(items: any[], ev: MouseEvent) {
|
|||||||
resolve();
|
resolve();
|
||||||
dispose();
|
dispose();
|
||||||
},
|
},
|
||||||
}).then(_dispose => {
|
}).then(res => {
|
||||||
dispose = _dispose;
|
dispose = res.dispose;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -337,8 +337,8 @@ export function post(props: Record<string, any>) {
|
|||||||
resolve();
|
resolve();
|
||||||
dispose();
|
dispose();
|
||||||
},
|
},
|
||||||
}).then(_dispose => {
|
}).then(res => {
|
||||||
dispose = _dispose;
|
dispose = res.dispose;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user