diff options
Diffstat (limited to 'client/src/app/+my-library/my-video-playlists/my-video-playlist-elements.component.ts')
-rw-r--r-- | client/src/app/+my-library/my-video-playlists/my-video-playlist-elements.component.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/client/src/app/+my-library/my-video-playlists/my-video-playlist-elements.component.ts b/client/src/app/+my-library/my-video-playlists/my-video-playlist-elements.component.ts index 6aff5dbd7..d6959a50e 100644 --- a/client/src/app/+my-library/my-video-playlists/my-video-playlist-elements.component.ts +++ b/client/src/app/+my-library/my-video-playlists/my-video-playlist-elements.component.ts | |||
@@ -57,7 +57,7 @@ export class MyVideoPlaylistElementsComponent implements OnInit, OnDestroy { | |||
57 | ] | 57 | ] |
58 | 58 | ||
59 | this.paramsSub = this.route.params.subscribe(routeParams => { | 59 | this.paramsSub = this.route.params.subscribe(routeParams => { |
60 | this.videoPlaylistId = routeParams[ 'videoPlaylistId' ] | 60 | this.videoPlaylistId = routeParams['videoPlaylistId'] |
61 | this.loadElements() | 61 | this.loadElements() |
62 | 62 | ||
63 | this.loadPlaylistInfo() | 63 | this.loadPlaylistInfo() |
@@ -145,8 +145,6 @@ export class MyVideoPlaylistElementsComponent implements OnInit, OnDestroy { | |||
145 | * we add a delay to prevent unwanted drag&drop. | 145 | * we add a delay to prevent unwanted drag&drop. |
146 | * | 146 | * |
147 | * @see {@link https://github.com/Chocobozzz/PeerTube/issues/2078} | 147 | * @see {@link https://github.com/Chocobozzz/PeerTube/issues/2078} |
148 | * | ||
149 | * @returns {null|number} Null for no delay, or a number in milliseconds. | ||
150 | */ | 148 | */ |
151 | getDragStartDelay (): null | number { | 149 | getDragStartDelay (): null | number { |
152 | if (this.screenService.isInTouchScreen()) { | 150 | if (this.screenService.isInTouchScreen()) { |