Fix switching search modes by removing an unnecessary optimization
This commit is contained in:
parent
54147844ab
commit
328bc96da7
|
@ -2112,9 +2112,7 @@ Zotero.ItemGroup.prototype.getChildTags = function() {
|
||||||
|
|
||||||
Zotero.ItemGroup.prototype.setSearch = function(searchText)
|
Zotero.ItemGroup.prototype.setSearch = function(searchText)
|
||||||
{
|
{
|
||||||
if(searchText !== this.searchText) {
|
Zotero.ItemGroupCache.clear();
|
||||||
Zotero.ItemGroupCache.clear();
|
|
||||||
}
|
|
||||||
this.searchText = searchText;
|
this.searchText = searchText;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user