Opened 12 years ago
Closed 12 years ago
#28340 closed defect (bug) (fixed)
Twenty Fourteen: Non-empty hashtag assumed
| Reported by: | nabil_kadimi | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.0 |
| Component: | Bundled Theme | Version: | 3.9.1 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | javascript |
Description
The error appears in the browser Javascript console:
Empty string passed to getElementById().
To reproduce:
- Activate Twenty fourteen
- Show a menu with a link whose URL is #
- Go to the site and click that link and notice the error in your browser console.
Attachments (2)
Change History (6)
#2
@
12 years ago
- Component General → Bundled Theme
- Keywords has-patch added
- Milestone Awaiting Review → 4.0
- Summary Non-empty hashtag assumed in Twentyfourteen → Twenty Fourteen: Non-empty hashtag assumed
#3
@
12 years ago
- Keywords commit added
I could not reproduce the error message in Firefox or Chrome, but the fix looks proper.
28340.2.patch makes it a bit more consistent with the surrounding code.
Note:
See TracTickets
for help on using tickets.
Patch