Opened 17 months ago
Last modified 17 months ago
#48732 new defect (bug)
Twenty Seventeen is throwing a JS error on page display when a sidebar hasn't been setup.
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | minor | Version: | 5.3 |
Component: | Bundled Theme | Keywords: | |
Focuses: | javascript, coding-standards | Cc: |
Description
Error as it appears in the console:
Uncaught TypeError: Cannot read property 'top' of undefined
at belowEntryMetaClass (global.js?ver=1.0:124)
at global.js?ver=1.0:240
I was able to trace the issue to sidebarPos being "undefined" on this line.
sidebarPosBottom = sidebarPos.top + ( $sidebar.height() + 28 );
Note: See
TracTickets for help on using
tickets.