- Issue created by @pvbergen
When upgrading Drupal from 9 to 10, I get an JavaScript error that says "$.cookie is not a function". This is due to Drupal 10 not including the jquery.cookie library anymore (deprecated in Drupal 9). For more information, refer to the relevant change record: https://www.drupal.org/node/3104677 →
- Install and enable drupal/gtl on Drupal 10 site.
- Open developer tools and notice the errors on the JS console.
Use js-cookie library instead of jquery.cookie.
Active
4.0
Code