mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-26 22:29:28 +09:00
embedではデフォルトのコンテキストメニューを出すように
This commit is contained in:
parent
d222c7e824
commit
8cdb6bbb9d
@ -667,6 +667,11 @@ function loadConversation() {
|
||||
height: 58px;
|
||||
}
|
||||
|
||||
.embeddedNote .noteHeaderAvatar {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.noteHeaderBody {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
|
@ -633,6 +633,8 @@ export function popupMenu(items: MenuItem[], src?: HTMLElement | EventTarget | n
|
||||
}
|
||||
|
||||
export function contextMenu(items: MenuItem[], ev: MouseEvent): Promise<void> {
|
||||
if (isEmbedPage()) return Promise.resolve();
|
||||
|
||||
ev.preventDefault();
|
||||
return new Promise(resolve => {
|
||||
let dispose;
|
||||
|
Loading…
Reference in New Issue
Block a user