Skip to content

Commit a13d906

Browse files
committed
fix: correct RequireJS dependency order for recaptcha in auth widget
- Moved js/utils/recaptcha before backbone-validation and backbone.stickit in dependency array - recaptchaUtils was receiving backbone-validation (position 15) instead of recaptcha module (position 17) - Backbone plugins don't need params so must come after deps that do
1 parent c7036f4 commit a13d906

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/widgets/authentication/widget.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ define([
1313
'hbs!js/widgets/authentication/templates/resend-verification-email',
1414
'js/components/user',
1515
'analytics',
16+
'js/utils/recaptcha',
1617
'backbone-validation',
1718
'backbone.stickit',
18-
'js/utils/recaptcha',
1919
], function(
2020
Marionette,
2121
BaseWidget,

0 commit comments

Comments
 (0)