UX: remove extra whitespace in search helper (#19980)
This commit is contained in:
parent
e71bf672cb
commit
75032f4752
|
@ -676,7 +676,7 @@ createWidget("search-menu-initial-options", {
|
|||
slug: term,
|
||||
extraHint: I18n.t("search.enter_hint"),
|
||||
label: [
|
||||
h("span.keyword", `${term} `),
|
||||
h("span.keyword", `${term}`),
|
||||
opts.withLabel
|
||||
? h("span.label-suffix", I18n.t("search.in_topics_posts"))
|
||||
: null,
|
||||
|
|
|
@ -73,7 +73,7 @@ acceptance("Search - Anonymous", function (needs) {
|
|||
query(
|
||||
".search-menu .results ul.search-menu-initial-options li:first-child .search-item-slug"
|
||||
).innerText.trim(),
|
||||
`dev ${I18n.t("search.in_topics_posts")}`,
|
||||
`dev${I18n.t("search.in_topics_posts")}`,
|
||||
"shows topic search as first dropdown item"
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue