Commit 859176e8 authored by jitendra's avatar jitendra
Browse files

Fix stripe load on d8 webforms

parent 41821f82
......@@ -112,7 +112,7 @@
var submit = null;
if (CRM.payment.getIsDrupalWebform()) {
submit = this.form.querySelectorAll('[type="submit"].webform-submit');
if (!submit) {
if (submit.length === 0) {
// drupal 8 webform
submit = this.form.querySelectorAll('[type="submit"].webform-button--submit');
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment