diff options
author | Rigel Kent <par@rigelk.eu> | 2018-08-28 09:32:03 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-28 09:32:03 +0200 |
commit | ee1fc23a8794364687ea06cbb738bc5f6ce70d7f (patch) | |
tree | 2c6002a44984211f2290e8a4d5d3e60836c090d5 /client/src/app/app.module.ts | |
parent | f74c294a0d5e9f61f13d64f3f7c028b512431995 (diff) | |
download | PeerTube-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.ts | 4 |
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 | ||
6 | import { MetaLoader, MetaModule, MetaStaticLoader, PageTitlePositioning } from '@ngx-meta/core' | 6 | import { MetaLoader, MetaModule, MetaStaticLoader, PageTitlePositioning } from '@ngx-meta/core' |
7 | import { ClipboardModule } from 'ngx-clipboard' | 7 | import { ClipboardModule } from 'ngx-clipboard' |
8 | import { HotkeyModule, IHotkeyOptions } from 'angular2-hotkeys' | ||
8 | 9 | ||
9 | import { AppRoutingModule } from './app-routing.module' | 10 | import { AppRoutingModule } from './app-routing.module' |
10 | import { AppComponent } from './app.component' | 11 | import { 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, |