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.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/betterGifAltText.ts b/src/plugins/betterGifAltText.ts
index 4754042..08fa07b 100644
--- a/src/plugins/betterGifAltText.ts
+++ b/src/plugins/betterGifAltText.ts
@@ -1,8 +1,9 @@
+import { Devs } from "../utils/constants";
import definePlugin from "../utils/types";
export default definePlugin({
name: "BetterGifAltText",
- author: "Vendicated",
+ authors: [Devs.Ven],
description:
"Change GIF alt text from simply being 'GIF' to containing the gif tags / filename",
patches: [
@@ -30,7 +31,7 @@ export default definePlugin({
let url: string = props.original || props.src;
try {
url = decodeURI(url);
- } catch {}
+ } catch { }
let name = url
.slice(url.lastIndexOf("/") + 1)