diff --git a/ts/modules/captcha.ts b/ts/modules/captcha.ts
index 68fedc1..8c41884 100644
--- a/ts/modules/captcha.ts
+++ b/ts/modules/captcha.ts
@@ -1,5 +1,7 @@
import { _get, _post } from "./common.js";
+declare var window: GlobalWindow;
+
export class Captcha {
isPWR = false;
enabled = true;
@@ -51,7 +53,7 @@ export class Captcha {
this.captchaID = this.isPWR ? this.code : req.response["id"];
// the Math.random() appearance below is used for PWRs, since they don't have a unique captchaID. The parameter is ignored by the server, but tells the browser to reload the image.
document.getElementById("captcha-img").innerHTML = `
-
+
`;
this.input.value = "";
}