diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-22 16:18:00 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-22 16:18:00 +0200 |
commit | 02b2e482e0bdf16432b1ee34e95a71bbad39a4ff (patch) | |
tree | 48f45d24881ccead3fda36bc2fc9f57c054f5c03 /client/src/assets/player/videojs-components/peertube-load-progress-bar.ts | |
parent | 60dd77c6922fced1945635a16ac7ecf1df43a839 (diff) | |
download | PeerTube-02b2e482e0bdf16432b1ee34e95a71bbad39a4ff.tar.gz PeerTube-02b2e482e0bdf16432b1ee34e95a71bbad39a4ff.tar.zst PeerTube-02b2e482e0bdf16432b1ee34e95a71bbad39a4ff.zip |
Fix some old typing issues
Diffstat (limited to 'client/src/assets/player/videojs-components/peertube-load-progress-bar.ts')
-rw-r--r-- | client/src/assets/player/videojs-components/peertube-load-progress-bar.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/client/src/assets/player/videojs-components/peertube-load-progress-bar.ts b/client/src/assets/player/videojs-components/peertube-load-progress-bar.ts index 7869b56ce..623e70eb2 100644 --- a/client/src/assets/player/videojs-components/peertube-load-progress-bar.ts +++ b/client/src/assets/player/videojs-components/peertube-load-progress-bar.ts | |||
@@ -25,7 +25,6 @@ class PeerTubeLoadProgressBar extends Component { | |||
25 | const torrent = this.player().webtorrent().getTorrent() | 25 | const torrent = this.player().webtorrent().getTorrent() |
26 | if (!torrent) return | 26 | if (!torrent) return |
27 | 27 | ||
28 | // FIXME: typings | ||
29 | (this.el() as HTMLElement).style.width = (torrent.progress * 100) + '%' | 28 | (this.el() as HTMLElement).style.width = (torrent.progress * 100) + '%' |
30 | } | 29 | } |
31 | 30 | ||