mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-17 18:37:04 -04:00
Emote Clone plugin
This commit is contained in:
parent
81edc14070
commit
9110d1f9bd
3 changed files with 233 additions and 1 deletions
|
@ -56,7 +56,7 @@ export default definePlugin({
|
|||
}],
|
||||
|
||||
makeMenu(src: string, target: HTMLElement) {
|
||||
if (target && target.attributes["data-role"]?.value !== "img")
|
||||
if (target && !(target instanceof HTMLImageElement) && target.attributes["data-role"]?.value !== "img")
|
||||
return null;
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue