From: Alexander Ebert Date: Mon, 15 Aug 2016 08:13:55 +0000 (+0200) Subject: Search input could get stuck if there are no matches X-Git-Tag: 3.0.0_Beta_1~751 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=46df4d78cd0f58f5afe6871a4753475a320ce60c;p=GitHub%2FWoltLab%2FWCF.git Search input could get stuck if there are no matches --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Search/Input.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Search/Input.js index 21372097b4..42dea42289 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Search/Input.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Search/Input.js @@ -126,6 +126,7 @@ define(['Ajax', 'Core', 'EventKey', 'Dom/Util', 'Ui/SimpleDropdown'], function(A if (value.length < this._options.minLength) { if (this._dropdownContainerId) { UiSimpleDropdown.close(this._dropdownContainerId); + this._activeItem = null; } // value below threshold