#20131 closed defect (bug) (fixed)
Make proper use of the cached jQuery collection in Twenty Twelve's navigation.js
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Bundled Theme | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
The brand new navigation.js in twentytwelve fails to use the cached $("#masthead') jQuery collection properly. It's attempting to wrap an already cached jQuery collection inside a new jQuery object several times (which works, because jQuery anticipated this incorrect usage). This patch fixes that.
Or, OMG IAN YOU'RE DOING IT WRONG! :P
Attachments (1)
Change History (7)
comment:2
iandstewart — 15 months ago
This is my new favorite ticket. It beats the heading ticket hands down.
comment:3
lancewillett — 15 months ago
I lol'd.
comment:4
lancewillett — 15 months ago
- Resolution set to fixed
- Status changed from new to closed
Heh. amusement is so much better when it's amusement at Ian's expense.
Note: See
TracTickets for help on using
tickets.

Not unusual. ;)