luiscarvalho → created an issue.
When trying this patch in conjunction with #3389161 - Not all attributes are used when considering an asset as unique 🐛 Not all attributes are used when considering an asset as unique Needs review , the JS error disappears but it looks like it's interfering with other append commands.
In my case, in a site running Drupal 10.1.0, I have a Webform with: saving submissions disabled, Ajax enabled and confirmation Inline (reloads the current page and replaces the webform with the confirmation message). When I submit that form while critical_css is enabled (after patches attached), it doesn't replace the webform anymore. The exact response with commands for the POST is in the image.
I could not determine if the problem is on the code of one of the modules or the changes in Ajax from D9.5 to D10.
luiscarvalho → created an issue.
luiscarvalho → created an issue.
luiscarvalho → created an issue.