Issues in Firefox
-
Hello,
Hcaptcha isn’t displaying in Firefox properly.
For e.g. using it on bbpress for topic creation, it works fine in Edge; however on Firefox it does not show up.
Console shows:
SyntaxError: bad method definition – hcaptcha.js:40:1
It refers to the getWidgetId = ( el ) => { line of the from the snippet below:
* Get hCaptcha widget id. * * @param {HTMLDivElement} el Form element. * @returns {string} */ getWidgetId = ( el ) => { return el.getElementsByClassName( 'h-captcha' )[ 0 ].getElementsByTagName( 'iframe' )[ 0 ].dataset.hcaptchaWidgetId; };
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Issues in Firefox’ is closed to new replies.