try to fix SidebarSearch xss error

pull/3181/head
REJack 2020-11-30 09:03:15 +01:00
parent 8974feb54c
commit b0f9c48ea5
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class SidebarSearch {
this._addNotFound()
} else {
endResults.each((i, result) => {
$(SELECTOR_SEARCH_RESULTS_GROUP).append(this._renderItem(result.name, result.link, result.path))
$(this._renderItem(result.name, result.link, result.path)).appendTo(SELECTOR_SEARCH_RESULTS_GROUP)
})
}