[wp-trac] [WordPress Trac] #48601: Twenty Twenty: document.body is null
WordPress Trac
noreply at wordpress.org
Tue Nov 26 18:20:07 UTC 2019
#48601: Twenty Twenty: document.body is null
------------------------------+--------------------------
Reporter: quicoto | Owner: ianbelanger
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.3.1
Component: Bundled Theme | Version: 5.3
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+--------------------------
Changes (by ianbelanger):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"46786" 46786]:
{{{
#!CommitTicketReference repository="" revision="46786"
Bundled Themes: Fixes JS TypeError in Twenty Twenty.
On mobile devices using a webkit browser, the menu and search modals could
not be opened due to a `TypeError: document.body is null`. This commit
fixes that issue by adding a `touch-enabled` class to the body for
browsers that do not support media queries.
Props quicoto, poena, Boga86, acosmin, macmanx.
Fixes #48601.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48601#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list