diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-18 09:46:58 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-18 10:26:19 +0200 |
commit | 7b3a99d51716e404bdea0cef8d1f994aab0e8aac (patch) | |
tree | f1a07e610a1db0afd9d08083a148381ae1eaf0cf /client/src/assets/player/theater-button.ts | |
parent | f5a2dc48eb80ab7842cec1da7269b5d153208689 (diff) | |
download | PeerTube-7b3a99d51716e404bdea0cef8d1f994aab0e8aac.tar.gz PeerTube-7b3a99d51716e404bdea0cef8d1f994aab0e8aac.tar.zst PeerTube-7b3a99d51716e404bdea0cef8d1f994aab0e8aac.zip |
Move player local storage functions in their own file
Diffstat (limited to 'client/src/assets/player/theater-button.ts')
-rw-r--r-- | client/src/assets/player/theater-button.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/assets/player/theater-button.ts b/client/src/assets/player/theater-button.ts index 1d330e08f..bad737eda 100644 --- a/client/src/assets/player/theater-button.ts +++ b/client/src/assets/player/theater-button.ts | |||
@@ -1,5 +1,6 @@ | |||
1 | import { VideoJSComponentInterface, videojsUntyped } from './peertube-videojs-typings' | 1 | import { VideoJSComponentInterface, videojsUntyped } from './peertube-videojs-typings' |
2 | import { getStoredTheater, saveTheaterInStore } from './utils' | 2 | import { saveTheaterInStore } from './peertube-player-local-storage' |
3 | import { getStoredTheater } from './peertube-player-local-storage' | ||
3 | 4 | ||
4 | const Button: VideoJSComponentInterface = videojsUntyped.getComponent('Button') | 5 | const Button: VideoJSComponentInterface = videojsUntyped.getComponent('Button') |
5 | class TheaterButton extends Button { | 6 | class TheaterButton extends Button { |