aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/betterGifAltText.ts
diff options
context:
space:
mode:
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 {