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.
Split off from #3153234: [Meta] Olivero JavaScript should be selecting [data-drupal-selector] attributes where possible
We need to be using [data-drupal-selector] attribute selectors in scripts.es6.js
Testing instructions
- Load the homepage at wide widths.
- Scroll down, verify fixed header functionality hasn't changed.
- Verify that the social bar becomes fixed the page is scrolled down.
- Load page at narrow widths
- Verify that the mobile menu functionality works the same.
Comment | File | Size | Author |
---|---|---|---|
#4 | Screen Recording 2021-05-09 at 08.10.49.mov | 15.26 MB | Gauravvvv |
#2 | 3212998.patch | 8.29 KB | mherchel |
Comments
Comment #2
mherchelPatch attached.
Tugboat URL: https://3212998-normalize-scripts-js-ksosl0r8qtfcxwnlwys2zbl4grjfseij.tu...
Comment #3
mherchelComment #4
Gauravvvv CreditAttribution: Gauravvvv at OpenSense Labs for Drupal India Association commentedI have verified all the testing instruction steps on live-preview. Adding screen recording for reference.
Marking as RTBC
Comment #7
lauriiiCommitted 08a9dcb and pushed to 9.3.x and 9.2.x. Thanks!