aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app.module.ts
diff options
context:
space:
mode:
authorRigel Kent <par@rigelk.eu>2018-08-28 09:32:03 +0200
committerChocobozzz <me@florianbigard.com>2018-08-28 09:32:03 +0200
commitee1fc23a8794364687ea06cbb738bc5f6ce70d7f (patch)
tree2c6002a44984211f2290e8a4d5d3e60836c090d5 /client/src/app/app.module.ts
parentf74c294a0d5e9f61f13d64f3f7c028b512431995 (diff)
downloadPeerTube-ee1fc23a8794364687ea06cbb738bc5f6ce70d7f.tar.gz
PeerTube-ee1fc23a8794364687ea06cbb738bc5f6ce70d7f.tar.zst
PeerTube-ee1fc23a8794364687ea06cbb738bc5f6ce70d7f.zip
keyboard shortcuts and key map view (#974)
Diffstat (limited to 'client/src/app/app.module.ts')
-rw-r--r--client/src/app/app.module.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/app.module.ts b/client/src/app/app.module.ts
index 118831ed3..b484a89e8 100644
--- a/client/src/app/app.module.ts
+++ b/client/src/app/app.module.ts
@@ -5,6 +5,7 @@ import { ResetPasswordModule } from '@app/reset-password'
5 5
6import { MetaLoader, MetaModule, MetaStaticLoader, PageTitlePositioning } from '@ngx-meta/core' 6import { MetaLoader, MetaModule, MetaStaticLoader, PageTitlePositioning } from '@ngx-meta/core'
7import { ClipboardModule } from 'ngx-clipboard' 7import { ClipboardModule } from 'ngx-clipboard'
8import { HotkeyModule, IHotkeyOptions } from 'angular2-hotkeys'
8 9
9import { AppRoutingModule } from './app-routing.module' 10import { AppRoutingModule } from './app-routing.module'
10import { AppComponent } from './app.component' 11import { AppComponent } from './app.component'
@@ -45,6 +46,9 @@ export function metaFactory (serverService: ServerService): MetaLoader {
45 BrowserModule, 46 BrowserModule,
46 // FIXME: https://github.com/maxisam/ngx-clipboard/issues/133 47 // FIXME: https://github.com/maxisam/ngx-clipboard/issues/133
47 ClipboardModule, 48 ClipboardModule,
49 HotkeyModule.forRoot({
50 cheatSheetCloseEsc: true
51 } as IHotkeyOptions),
48 52
49 CoreModule, 53 CoreModule,
50 SharedModule, 54 SharedModule,