add opentelemetry tracing
This commit is contained in:
@ -106,11 +106,11 @@ func buttonRedirect(id, title string, linkTo string) templ.Component {
|
||||
|
||||
func onclickRedirect(id, to string) templ.ComponentScript {
|
||||
return templ.ComponentScript{
|
||||
Name: `__templ_onclickRedirect_47ae`,
|
||||
Function: `function __templ_onclickRedirect_47ae(id, to){document.getElementById(id).onclick = () => {
|
||||
location.href = to
|
||||
Name: `__templ_onclickRedirect_5c43`,
|
||||
Function: `function __templ_onclickRedirect_5c43(id, to){document.getElementById(id).onclick = () => {
|
||||
location.href = to
|
||||
}}`,
|
||||
Call: templ.SafeScript(`__templ_onclickRedirect_47ae`, id, to),
|
||||
CallInline: templ.SafeScriptInline(`__templ_onclickRedirect_47ae`, id, to),
|
||||
Call: templ.SafeScript(`__templ_onclickRedirect_5c43`, id, to),
|
||||
CallInline: templ.SafeScriptInline(`__templ_onclickRedirect_5c43`, id, to),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user