Fix an issue with the search field not displayed properly
This commit is contained in:
parent
7c9e86e351
commit
9d758a040b
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user