From 8b2c3b7e03c1652b185cd86012fc51a2fb78b147 Mon Sep 17 00:00:00 2001 From: Ahmad Syamim Date: Fri, 23 Aug 2024 09:51:34 +0800 Subject: [PATCH] Fix typo remvoeClass to removeClass --- src/web/components/access.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/web/components/access.html b/src/web/components/access.html index 5fd99cd..0fa02a2 100644 --- a/src/web/components/access.html +++ b/src/web/components/access.html @@ -1110,7 +1110,7 @@ } $("#ipAddressInput").val(""); - $("#ipAddressInput").parent().remvoeClass("error"); + $("#ipAddressInput").parent().removeClass("error"); }, error: function() { alert("Failed to add IP address to blacklist"); @@ -1244,7 +1244,7 @@ $("#ipAddressInputWhitelist").val(""); $("#ipAddressCommentsWhitelist").val(""); - $("#ipAddressInputWhitelist").parent().remvoeClass("error"); + $("#ipAddressInputWhitelist").parent().removeClass("error"); }, error: function() { alert("Failed to add IP address to whitelist");