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 989319a commit 8c6347fCopy full SHA for 8c6347f
ReCaptchaFrontendUi/view/frontend/web/js/nonInlineReCaptchaRenderer.js
@@ -6,8 +6,8 @@
6
/* global grecaptcha */
7
define([
8
'jquery',
9
- 'jquery/patches/z-index'
10
-], function ($, zIndex) {
+ 'jquery/z-index'
+], function ($) {
11
'use strict';
12
13
var reCaptchaEntities = [],
@@ -40,7 +40,7 @@ define([
40
reCaptchaEntities.some(function (entity) {
41
return entity.is(':visible') &&
42
// 900 is some magic z-index value of modal popups.
43
- (entity.closest('[data-role=\'modal\']').length === 0 || zIndex.getValue(entity) > 900);
+ (entity.closest('[data-role=\'modal\']').length === 0 || entity.zIndex() > 900);
44
}) ? rendererReCaptcha.show() : rendererReCaptcha.hide();
45
},
46
0 commit comments