From fcfc724db5064f8c143ba214b3786c10b5cf3be9 Mon Sep 17 00:00:00 2001 From: Ivan Nikolsky Date: Wed, 28 May 2025 01:47:19 +0200 Subject: [PATCH] Minor fixes --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bc8f285..e42fce2 100644 --- a/README.md +++ b/README.md @@ -183,9 +183,9 @@ The `@ratelimit` decorator enforces strict rate limits while `@hoptcha_protected You can override the default iframe and style using the optional onCaptcha parameter in the hoptchaPost() JavaScript function. This is useful if you want to match your app’s branding or use modals. ```javascript -hoptchaPost('/endpoint', payload, onSuccess, onError, function renderCustom(url, key) { +hoptchaPost('/endpoint', payload, onSuccess, onError, function renderCustom(url) { // Replace container with your custom implementation - $('#myCustomCaptchaArea').html(``); + $('#myCustomCaptchaArea').html(``); }); ```