Fixes host details tooltip

This commit is contained in:
Matteo Biscosi 2024-08-02 11:34:01 +02:00
parent ac0ba83c31
commit 87457ac068
3 changed files with 4 additions and 3 deletions

View file

@ -208,7 +208,7 @@ function hostinfo2detailshref(host_info, href_params, href_value, href_tooltip,
local hostdetails_url = hostinfo2detailsurl(host_info, href_params, href_check)
if not isEmptyString(hostdetails_url) then
res = string.format("<a href='%s' data-bs-toggle='tooltip' title='%s'>%s</a>", hostdetails_url,
res = string.format("<a href='%s' data-bs-toggle='tooltip' data-bs-placement='top' title='%s'>%s</a>", hostdetails_url,
href_tooltip or '', href_value or '')
else
if show_value_with_no_ref == nil or show_value_with_no_ref == true then