[#7660] added missing type:button attribute and replaced form tag with div to minimize future regressions
This commit is contained in:
@@ -247,6 +247,7 @@ function initSearch(selectFunc = null) {
|
||||
if (data.searchTerm.length) {
|
||||
return t.button(
|
||||
{
|
||||
type: "button",
|
||||
className: "link-hint",
|
||||
title: "Clear search",
|
||||
onclick: () => reset(),
|
||||
|
||||
Reference in New Issue
Block a user