${ovk_proc_strtr(item['name'].escapeHtml(), 50)}
diff --git a/Web/static/js/router.js b/Web/static/js/router.js
index b0f103ee..51ba1a48 100644
--- a/Web/static/js/router.js
+++ b/Web/static/js/router.js
@@ -102,6 +102,8 @@ window.router = new class {
} else {
if(u('.page_header').hasClass('search_expanded_at_all')) {
u('.page_header').removeClass('search_expanded_at_all').removeClass('search_expanded')
+ } else {
+ u('.page_header').removeClass('search_expanded')
}
}