summaryrefslogtreecommitdiff
path: root/src/client/scripts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-11-03 15:22:55 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-11-03 15:22:55 +0900
commitc3ae6f3a4a8325eaa1420ae1ab0435428d92c2cb (patch)
treed421834db3b2bc0b204a684ee9eec09349f6695c /src/client/scripts
parentImprove usability of emoji page (diff)
downloadsharkey-c3ae6f3a4a8325eaa1420ae1ab0435428d92c2cb.tar.gz
sharkey-c3ae6f3a4a8325eaa1420ae1ab0435428d92c2cb.tar.bz2
sharkey-c3ae6f3a4a8325eaa1420ae1ab0435428d92c2cb.zip
Refactor
Diffstat (limited to 'src/client/scripts')
-rw-r--r--src/client/scripts/get-user-menu.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/scripts/get-user-menu.ts b/src/client/scripts/get-user-menu.ts
index 693e573b07..c3de7313cc 100644
--- a/src/client/scripts/get-user-menu.ts
+++ b/src/client/scripts/get-user-menu.ts
@@ -101,8 +101,8 @@ export function getUserMenu(user) {
});
}
- async function reportAbuse() {
- os.popup(await import('@/components/abuse-report-window.vue'), {
+ function reportAbuse() {
+ os.popup(import('@/components/abuse-report-window.vue'), {
user: user,
}, {}, 'closed');
}