- Issue created by @Marty2081
We have the situation that there are multiple form elements in the DOM.
The following TODO is present in the code:
// TODO: This fails if there are multiple forms. var $form = $('form').first();
In our case the other form comes first and hence, the functionality is broken. We fixed this by setting $form as follows:
var $form = $('.field--widget-yoast-seo-widget').closest('form');
This might not be the best way, but at least we at least have the functionality working again.
Active
2.0
Code