diff --git a/management/templates/smtp-relays.html b/management/templates/smtp-relays.html
index b50d336c..85ec1603 100644
--- a/management/templates/smtp-relays.html
+++ b/management/templates/smtp-relays.html
@@ -97,7 +97,7 @@
relay_auth_pass.disabled = !(relay_enabled && auth_enabled)
}
- api(
+ $(api(
"/system/smtp/relay",
"GET",
{},
@@ -111,5 +111,5 @@
checkfields()
}
- )
+ ))