Fix an issue with the search field not displayed properly
This commit is contained in:
1 parent
7c9e86e351
commit
9d758a040b
1 file changed
+1
-1
+1
-1
@@ -1838,7 +1838,7 @@ define([
|
|||||||
|
|
||||||
module.resetTree();
|
module.resetTree();
|
||||||
|
|
||||||
if (displayedCategories.indexOf(SEARCH) !== -1) {
|
if (displayedCategories.indexOf(SEARCH) !== -1 && $tree.find('#searchInput').length) {
|
||||||
// in history mode we want to focus the version number input
|
// in history mode we want to focus the version number input
|
||||||
if (!history.isHistoryMode && !APP.mobile()) {
|
if (!history.isHistoryMode && !APP.mobile()) {
|
||||||
var st = $tree.scrollTop() || 0;
|
var st = $tree.scrollTop() || 0;
|
||||||
|
|||||||
Reference in new issue
Block a user