aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/openInApp.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/openInApp.ts b/src/plugins/openInApp.ts
index 83cd828..2db0b8d 100644
--- a/src/plugins/openInApp.ts
+++ b/src/plugins/openInApp.ts
@@ -71,7 +71,7 @@ export default definePlugin({
{
find: ".CONNECTED_ACCOUNT_VIEWED,",
replacement: {
- match: /(?<=href:\i,onClick:function\(\)\{)(?=return \i=(\i)\.type,.{0,50}CONNECTED_ACCOUNT_VIEWED)/,
+ match: /(?<=href:\i,onClick:function\(\i\)\{)(?=\i=(\i)\.type,.{0,50}CONNECTED_ACCOUNT_VIEWED)/,
replace: "$self.handleAccountView(arguments[0],$1.type,$1.id);"
}
}