mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
#6828: Fix various mobile UI issues
This commit is contained in:
@ -32,9 +32,7 @@ function handleSearchDropdownClick(event: Event, button: HTMLButtonElement) {
|
||||
* Initialize Search Bar Elements.
|
||||
*/
|
||||
function initSearchBar() {
|
||||
for (const dropdown of getElements<HTMLUListElement>(
|
||||
'div.search-container ul.search-obj-selector',
|
||||
)) {
|
||||
for (const dropdown of getElements<HTMLUListElement>('.search-obj-selector')) {
|
||||
for (const button of dropdown.querySelectorAll<HTMLButtonElement>(
|
||||
'li > button.dropdown-item',
|
||||
)) {
|
||||
|
Reference in New Issue
Block a user