* [bug #65335] skip to open search from on open from doc.

This commit is contained in:
sunhao
2025-09-10 09:39:09 +08:00
parent ea55af944c
commit e3acfd9a4c
+1 -1
View File
@@ -477,7 +477,7 @@ featureBar
li(searchToggle
(
set::simple($isFromDoc),
set::open($browseType == 'bysearch' || $storyBrowseType == 'bysearch'),
set::open(!$isFromDoc && ($browseType == 'bysearch' || $storyBrowseType == 'bysearch')),
set::module($config->product->search['module']),
$isFromDoc ? set::target('#docSearchForm') : null,
$isFromDoc ? set::onSearch(jsRaw('function(){$(this.element).closest(".modal").find("#featureBar .nav-item>.active").removeClass("active").find(".label").hide()}')) : null