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 15ee950 commit 6d642f8Copy full SHA for 6d642f8
app/code/Magento/PaypalCaptcha/view/frontend/web/js/view/payment/list-mixin.js
@@ -34,14 +34,16 @@ define([
34
35
/**
36
* Overrides default window.clearTimeout() to catch errors from iframe and reload Captcha.
37
+ *
38
+ * @param {Number} timeoutID
39
*/
- clearTimeout: function () {
40
+ clearTimeout: function (timeoutID) {
41
var captcha = captchaList.getCaptchaByFormId(this.formId);
42
43
if (captcha !== null) {
44
captcha.refresh();
45
}
- clearTimeout();
46
+ clearTimeout(timeoutID);
47
48
};
49
0 commit comments