diff options
| author | Teddy Wing | 2019-05-01 17:32:03 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2019-05-01 17:35:32 +0200 | 
| commit | fc04446765471311ac8818fa8bc411b5ed384791 (patch) | |
| tree | 16a4e8e7a3ac07bcd28055be27dc4563f7cfb96c /src/key_codes.ts | |
| parent | bd0829555bcaee8f0e32d54c5785651965a5b1e4 (diff) | |
| download | muttagen-fc04446765471311ac8818fa8bc411b5ed384791.tar.bz2 | |
Add shortcut to toggle the left sidebar
Map sidebar toggle to `\m`.
Initialise the code after a timeout to account for Gmail's initial
loading screen.
Needed to use an `as HTMLElement` cast in order to get the code to
compile:
https://github.com/Microsoft/TypeScript/issues/16920
    src/sidebar.ts:10:5 - error TS2740: Type 'Element' is missing the
    following properties from type 'HTMLElement': accessKey,
    accessKeyLabel, autocapitalize, dir, and 110 more.
Diffstat (limited to 'src/key_codes.ts')
0 files changed, 0 insertions, 0 deletions
