aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-09-21 11:19:23 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-09-21 11:19:23 +0800
commit598c982baeddc787b348492667687508f83bcad0 (patch)
tree39e82c20d0c123ec936057083b97f0a509136cc5
parent679bee512ec088ceab59df0f6683fe8a240866e7 (diff)
fix: typo for event API
-rw-r--r--src/dumbymap.mjs2
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