mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
Fix bug of c3ae6f3a4
This commit is contained in:
parent
9d0c238023
commit
e3cda6ca2f
@ -300,8 +300,8 @@ export function modalMenu(items: any[], src?: HTMLElement, options?: { align?: s
|
||||
resolve();
|
||||
dispose();
|
||||
},
|
||||
}).then(_dispose => {
|
||||
dispose = _dispose;
|
||||
}).then(res => {
|
||||
dispose = res.dispose;
|
||||
});
|
||||
});
|
||||
}
|
||||
@ -318,8 +318,8 @@ export function contextMenu(items: any[], ev: MouseEvent) {
|
||||
resolve();
|
||||
dispose();
|
||||
},
|
||||
}).then(_dispose => {
|
||||
dispose = _dispose;
|
||||
}).then(res => {
|
||||
dispose = res.dispose;
|
||||
});
|
||||
});
|
||||
}
|
||||
@ -337,8 +337,8 @@ export function post(props: Record<string, any>) {
|
||||
resolve();
|
||||
dispose();
|
||||
},
|
||||
}).then(_dispose => {
|
||||
dispose = _dispose;
|
||||
}).then(res => {
|
||||
dispose = res.dispose;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user