diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2024-09-21 11:19:23 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2024-09-21 11:19:23 +0800 |
| commit | 598c982baeddc787b348492667687508f83bcad0 (patch) | |
| tree | 39e82c20d0c123ec936057083b97f0a509136cc5 /src | |
| parent | 679bee512ec088ceab59df0f6683fe8a240866e7 (diff) | |
fix: typo for event API
Diffstat (limited to 'src')
| -rw-r--r-- | src/dumbymap.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dumbymap.mjs b/src/dumbymap.mjs index b1ba0c9..e24d130 100644 --- a/src/dumbymap.mjs +++ b/src/dumbymap.mjs | |||
| @@ -346,7 +346,7 @@ export const generateMaps = async (container, callback) => { | |||
| 346 | // Use Tab to change focus map | 346 | // Use Tab to change focus map |
| 347 | if (event.key === 'Tab') { | 347 | if (event.key === 'Tab') { |
| 348 | e.preventDefault() | 348 | e.preventDefault() |
| 349 | focusNextMap(event.shiftkey) | 349 | focusNextMapWithThrottle(event.shiftKey) |
| 350 | } | 350 | } |
| 351 | } | 351 | } |
| 352 | 352 | ||