We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e65583a commit f64bf3cCopy full SHA for f64bf3c
lib/src/loader.ts
@@ -12,7 +12,7 @@ export const hCaptchaScripts = [];
12
let lastLoadFailed = false;
13
14
export function resetLoader(scriptLocation?: HTMLElement) {
15
- hCaptchaScripts.length = 0; // Clears promises
+ hCaptchaScripts.splice(0); // Clears promises
16
17
const element = getMountElement(scriptLocation);
18
const frame: any = getFrame(element);
0 commit comments