diff options
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/misc/utils.ts | 2 | ||||
-rw-r--r-- | client/src/app/shared/shared.module.ts | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/client/src/app/shared/misc/utils.ts b/client/src/app/shared/misc/utils.ts index 11933e90b..2219ac802 100644 --- a/client/src/app/shared/misc/utils.ts +++ b/client/src/app/shared/misc/utils.ts | |||
@@ -98,7 +98,7 @@ function lineFeedToHtml (obj: object, keyToNormalize: string) { | |||
98 | 98 | ||
99 | // Try to cache a little bit window.innerWidth | 99 | // Try to cache a little bit window.innerWidth |
100 | let windowInnerWidth = window.innerWidth | 100 | let windowInnerWidth = window.innerWidth |
101 | // setInterval(() => windowInnerWidth = window.innerWidth, 500) | 101 | setInterval(() => windowInnerWidth = window.innerWidth, 500) |
102 | 102 | ||
103 | function isInSmallView () { | 103 | function isInSmallView () { |
104 | return windowInnerWidth < 600 | 104 | return windowInnerWidth < 600 |
diff --git a/client/src/app/shared/shared.module.ts b/client/src/app/shared/shared.module.ts index 20019e47a..fba099401 100644 --- a/client/src/app/shared/shared.module.ts +++ b/client/src/app/shared/shared.module.ts | |||
@@ -33,6 +33,7 @@ import { VideoThumbnailComponent } from './video/video-thumbnail.component' | |||
33 | import { VideoService } from './video/video.service' | 33 | import { VideoService } from './video/video.service' |
34 | import { AccountService } from '@app/shared/account/account.service' | 34 | import { AccountService } from '@app/shared/account/account.service' |
35 | import { VideoChannelService } from '@app/shared/video-channel/video-channel.service' | 35 | import { VideoChannelService } from '@app/shared/video-channel/video-channel.service' |
36 | import { I18n } from '@ngx-translate/i18n-polyfill' | ||
36 | 37 | ||
37 | @NgModule({ | 38 | @NgModule({ |
38 | imports: [ | 39 | imports: [ |
@@ -108,7 +109,8 @@ import { VideoChannelService } from '@app/shared/video-channel/video-channel.ser | |||
108 | VideoService, | 109 | VideoService, |
109 | AccountService, | 110 | AccountService, |
110 | MarkdownService, | 111 | MarkdownService, |
111 | VideoChannelService | 112 | VideoChannelService, |
113 | I18n | ||
112 | ] | 114 | ] |
113 | }) | 115 | }) |
114 | export class SharedModule { } | 116 | export class SharedModule { } |