feat: add comment keybind navigation
This commit is contained in:
10 files changed
+152
-52
No files matched your search
@@ -31,7 +31,7 @@
|
||||
|
||||
<svelte:body
|
||||
onkeydown={e => {
|
||||
if (e.key == 'Escape' && page.state.openImage != '') history.back()
|
||||
if (e.key == 'Escape' && (page.state.openImage || '') != '') history.back()
|
||||
}}
|
||||
/>
|
||||
|
||||
|
||||
Reference in new issue
Block a user