aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/stats/stats-plugin.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets/player/stats/stats-plugin.ts')
-rw-r--r--client/src/assets/player/stats/stats-plugin.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/assets/player/stats/stats-plugin.ts b/client/src/assets/player/stats/stats-plugin.ts
index 3402e7861..8aad80e8a 100644
--- a/client/src/assets/player/stats/stats-plugin.ts
+++ b/client/src/assets/player/stats/stats-plugin.ts
@@ -6,7 +6,7 @@ const Plugin = videojs.getPlugin('plugin')
6class StatsForNerdsPlugin extends Plugin { 6class StatsForNerdsPlugin extends Plugin {
7 private statsCard: StatsCard 7 private statsCard: StatsCard
8 8
9 constructor (player: videojs.Player, options: Partial<StatsCardOptions> = {}) { 9 constructor (player: videojs.Player, options: StatsCardOptions) {
10 const settings = { 10 const settings = {
11 ...options 11 ...options
12 } 12 }
@@ -22,8 +22,8 @@ class StatsForNerdsPlugin extends Plugin {
22 player.addChild(this.statsCard, settings) 22 player.addChild(this.statsCard, settings)
23 } 23 }
24 24
25 show (options?: StatsCardOptions) { 25 show () {
26 this.statsCard.show(options) 26 this.statsCard.show()
27 } 27 }
28} 28}
29 29