fix: loading logo not appearing on firefox
This commit is contained in:
4 files changed
+4
-4
No files matched your search
@@ -17,7 +17,7 @@
|
||||
import type { ClassValue } from 'svelte/elements'
|
||||
import Avatar from '../generic/Avatar.svelte'
|
||||
import Logo from '../generic/Logo.svelte'
|
||||
import CommandsWrapper from './commands/CommandsWrapper.svelte'
|
||||
import CommandsWrapper from './commands/CommandsHost.svelte'
|
||||
import NavButton from './NavButton.svelte'
|
||||
|
||||
let promptOpen: boolean = $state(false)
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
|
||||
function handleKeydown(event: KeyboardEvent) {
|
||||
if (
|
||||
(event.ctrlKey && event.key === 'p') ||
|
||||
(event.ctrlKey && (event.key === 'k' || event.key == 'p')) ||
|
||||
(event.key == '/' && document.activeElement == document.body)
|
||||
) {
|
||||
event.preventDefault()
|
||||
Reference in new issue
Block a user