From 46df4d78cd0f58f5afe6871a4753475a320ce60c Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 15 Aug 2016 10:13:55 +0200 Subject: [PATCH] Search input could get stuck if there are no matches --- wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Search/Input.js | 1 + 1 file changed, 1 insertion(+) 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 -- 2.20.1