Opened 10 years ago
Closed 10 years ago
#39784 closed enhancement (duplicate)
Add jquery dependency to admin-bar.js
| Reported by: | rellect | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Toolbar | Version: | 4.7.2 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
The admin-bar.js contains two implementations, one in vanilla js and the other in jquery.
I'm suggesting adding jquery dependency to admin-bar.js, for two reasons:
- Looking at the recent changes in the file, only the jquery implementation is maintained.
- It's common practice to move jquery (and other js files) to footer, causing admin-bar.js to be loaded before jquery is available.
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi @rellect, thanks for the ticket!
We're already tracking this enhancement in #19979.