Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
jQuery.once is deprecated and will be removed from Drupal 10.
Steps to reproduce
1. Replace jquery.once dependencies with core/once in *.libraries.yml.
2. Replace usages of .once() by once() in javascript files.
Comment | File | Size | Author |
---|---|---|---|
#2 | remove-jquery-once-3370410-2.patch | 560 bytes | Harshita mehna |
| |||
Screenshot.png | 220.89 KB | Harshita mehna |
Comments
Comment #2
Harshita mehna CreditAttribution: Harshita mehna at Smashing Infolabs Pvt. Ltd. commented