Fixes empty drop down issue with WCF.Search.Base
authorMatthias Schmidt <gravatronics@live.com>
Sat, 1 Jun 2013 15:11:14 +0000 (17:11 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 1 Jun 2013 15:11:14 +0000 (17:11 +0200)
wcfsetup/install/files/js/WCF.js

index 7c08eae99c01b672c569a190e2d3309fed5abeb3..1dd42adbfc5347caa3d1ebcd51019caf4783e1f0 100755 (executable)
@@ -5521,7 +5521,7 @@ WCF.Search.Base = Class.extend({
                        this._searchInput.val('');
                }
                
-               this._list.parent().removeClass('dropdownOpen').end().empty();
+               this._list.removeClass('dropdownOpen').end().empty();
                
                WCF.CloseOverlayHandler.removeCallback('WCF.Search.Base');