aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/revealAllSpoilers.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/revealAllSpoilers.ts')
-rw-r--r--src/plugins/revealAllSpoilers.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/revealAllSpoilers.ts b/src/plugins/revealAllSpoilers.ts
index b508b6a..ead169f 100644
--- a/src/plugins/revealAllSpoilers.ts
+++ b/src/plugins/revealAllSpoilers.ts
@@ -30,10 +30,10 @@ export default definePlugin({
patches: [
{
- find: ".revealSpoiler=function",
+ find: ".removeObscurity=function",
replacement: {
- match: /\.revealSpoiler=function\((.{1,2})\){/,
- replace: ".revealSpoiler=function($1){$self.reveal($1);"
+ match: /\.removeObscurity=function\((\i)\){/,
+ replace: ".removeObscurity=function($1){$self.reveal($1);"
}
}
],