Update ts/WoltLabSuite/Core/Bootstrap.ts
authorOlaf Braun <olaf_schmitz_1@t-online.de>
Fri, 1 Mar 2024 12:24:37 +0000 (13:24 +0100)
committerOlaf Braun <info@braun-development.de>
Thu, 7 Mar 2024 15:37:08 +0000 (16:37 +0100)
Co-authored-by: Alexander Ebert <ebert@woltlab.com>
ts/WoltLabSuite/Core/Bootstrap.ts

index 5484935875fd3f605572e2b59105e80fa85ae65c..31f97f983bd039b4a90b1fd5427a9483a9244e7b 100644 (file)
@@ -178,7 +178,7 @@ export function setup(options: BoostrapOptions): void {
           continue;
         }
 
-        if (node.querySelectorAll(".g-recaptcha-bubble-arrow").length === 0) {
+        if (node.querySelector(".g-recaptcha-bubble-arrow") === null) {
           return;
         }