- Issue created by @t1mm1
- 🇺🇦Ukraine t1mm1 Kiev
Also, take a look - I use 'once' as it was added in the D10. It means that need update menu_tree.libraries.yml file as well..
As it on my local now.
menu-tree: version: 1.0 js: js/tree.js: { } css: theme: css/tree.css: { } dependencies: - core/jquery - core/drupal - core/once
I did add version and dependicies.
Thanks.
- Status changed to Needs review
almost 2 years ago 10:49am 18 July 2023 - Assigned to peter törnstrand
- Status changed to Needs work
11 months ago 9:00am 9 August 2024 - 🇸🇪Sweden peter törnstrand
If you can refactor this to not use jQuery I will commit this.
- Issue was unassigned.
- Assigned to peter törnstrand
-
peter törnstrand →
committed 703c4925 on 2.0.x
Issue #3375050 by peter törnstrand: Drupal JS standards.
-
peter törnstrand →
committed 703c4925 on 2.0.x