Merge pull request #286 from ahmadsyamim/patch-1

Fix typo remvoeClass to removeClass
This commit is contained in:
Toby Chui 2024-08-23 17:37:52 +08:00 committed by GitHub
commit 563a12c860
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1110,7 +1110,7 @@
} }
$("#ipAddressInput").val(""); $("#ipAddressInput").val("");
$("#ipAddressInput").parent().remvoeClass("error"); $("#ipAddressInput").parent().removeClass("error");
}, },
error: function() { error: function() {
alert("Failed to add IP address to blacklist"); alert("Failed to add IP address to blacklist");
@ -1244,7 +1244,7 @@
$("#ipAddressInputWhitelist").val(""); $("#ipAddressInputWhitelist").val("");
$("#ipAddressCommentsWhitelist").val(""); $("#ipAddressCommentsWhitelist").val("");
$("#ipAddressInputWhitelist").parent().remvoeClass("error"); $("#ipAddressInputWhitelist").parent().removeClass("error");
}, },
error: function() { error: function() {
alert("Failed to add IP address to whitelist"); alert("Failed to add IP address to whitelist");