diff options
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, |