Merge branch 'sim-dev/emojiimport' into develop

This commit is contained in:
sim1222 2022-09-18 16:42:01 +09:00
commit c60db40175

View File

@ -68,7 +68,6 @@ export async function openReactionImportMenu(ev: MouseEvent, reaction: string):
icon: 'fas fa-copy', icon: 'fas fa-copy',
text: i18n.ts.copy, text: i18n.ts.copy,
action: (): void => { action: (): void => {
console.log('copy');
copyToClipboard(reaction.startsWith(':') ? `:${reaction.match(/(?<=:).*(?=@.*\.*(?=:))/g)[0]}:` : reaction); copyToClipboard(reaction.startsWith(':') ? `:${reaction.match(/(?<=:).*(?=@.*\.*(?=:))/g)[0]}:` : reaction);
}, },
}]; }];