mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-17 09:45:57 +00:00
no search at login page
This commit is contained in:
parent
499ebb8ab4
commit
f2097cce33
8
netbox/project-static/dist/netbox.js
vendored
8
netbox/project-static/dist/netbox.js
vendored
File diff suppressed because one or more lines are too long
8
netbox/project-static/dist/netbox.js.map
vendored
8
netbox/project-static/dist/netbox.js.map
vendored
File diff suppressed because one or more lines are too long
@ -4,7 +4,9 @@ const HOTKEYS: Record<string, () => void> = {
|
||||
|
||||
function focusGlobalSearch(): void {
|
||||
const searchInput = document.querySelector<HTMLInputElement>('header input[name="q"]')!;
|
||||
if (searchInput) {
|
||||
searchInput.focus();
|
||||
}
|
||||
}
|
||||
|
||||
function handleKeydown(event: KeyboardEvent): void {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user