aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/betterGifAltText.ts
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-10-08 20:36:57 +0200
committerVendicated <vendicated@riseup.net>2022-10-08 20:36:57 +0200
commitdea34503ef61fe8f2600d2d9b0edb2eec90ebd1b (patch)
treebf4a0037dbecb8b9b00413c59f1af2b434d561e6 /src/plugins/betterGifAltText.ts
parent0109381a4f5a513a23258130bca06d40fcbc8ea9 (diff)
downloadVencord-dea34503ef61fe8f2600d2d9b0edb2eec90ebd1b.tar.gz
Vencord-dea34503ef61fe8f2600d2d9b0edb2eec90ebd1b.tar.bz2
Vencord-dea34503ef61fe8f2600d2d9b0edb2eec90ebd1b.zip
Add more eslint rules
Diffstat (limited to 'src/plugins/betterGifAltText.ts')
-rw-r--r--src/plugins/betterGifAltText.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/betterGifAltText.ts b/src/plugins/betterGifAltText.ts
index 08fa07b..4712f71 100644
--- a/src/plugins/betterGifAltText.ts
+++ b/src/plugins/betterGifAltText.ts
@@ -26,7 +26,7 @@ export default definePlugin({
],
altify(props: any) {
- if (props.alt !== "GIF") return;
+ if (props.alt !== "GIF") return props.alt;
let url: string = props.original || props.src;
try {