Browse Source

needs to be bound for jquery event

pull/4483/head
bakaneko 3 weeks ago
parent
commit
8507282a4a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      resources/assets/lib/osu-core.ts

+ 1
- 1
resources/assets/lib/osu-core.ts View File

@@ -62,7 +62,7 @@ export default class OsuCore {
62 62
     $.subscribe('user:update', this.setUser);
63 63
   }
64 64
 
65
-  private setUser(event: JQuery.Event, user: UserJSON) {
65
+  private setUser = (event: JQuery.Event, user: UserJSON) => {
66 66
     this.dataStore.userStore.getOrCreate(user.id, user);
67 67
   }
68 68
 }

Loading…
Cancel
Save