[wp-trac] [WordPress Trac] #52473: Twenty Twenty-One: Dark Mode toggle is causing JavaScript error in block editor
WordPress Trac
noreply at wordpress.org
Tue Feb 9 14:55:02 UTC 2021
#52473: Twenty Twenty-One: Dark Mode toggle is causing JavaScript error in block
editor
------------------------------+-----------------------------------------
Reporter: ocean90 | Owner: desrosj
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.7
Component: Bundled Theme | Version: 5.6
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses: javascript, administration
------------------------------+-----------------------------------------
Changes (by desrosj):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"50269" 50269]:
{{{
#!CommitTicketReference repository="" revision="50269"
Twenty Twenty-One: Prevent Dark Mode related JavaScript error.
This prevents an `Uncaught TypeError` in the block editor when scrolling
caused by the absence of a `#dark-mode-toggler` element.
Props ocean90, mukesh27, justinahinon.
Fixes #52473.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52473#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list