From: Alexander Ebert Date: Wed, 18 Dec 2019 17:26:03 +0000 (+0100) Subject: The autofocus behavior of the updated drop-downs conflict with the _blur() behavior X-Git-Tag: 5.2.0_RC_2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f010ddce7795f12a3efee0706d14a9abfa2a9ce9;p=GitHub%2FWoltLab%2FWCF.git The autofocus behavior of the updated drop-downs conflict with the _blur() behavior --- diff --git a/wcfsetup/install/files/js/WCF.Location.js b/wcfsetup/install/files/js/WCF.Location.js index fec9bca650..73dd56156f 100644 --- a/wcfsetup/install/files/js/WCF.Location.js +++ b/wcfsetup/install/files/js/WCF.Location.js @@ -835,7 +835,7 @@ WCF.Location.GoogleMaps.LocationSearch = WCF.Search.Base.extend({ var $containerID = this._searchInput.parents('.dropdown').wcfIdentify(); if (!WCF.Dropdown.getDropdownMenu($containerID).hasClass('dropdownOpen')) { - WCF.Dropdown.toggleDropdown($containerID); + WCF.Dropdown.toggleDropdown($containerID, true); } // pre-select first item