Skip to content

Commit

Permalink
Block Editor: Add closing parenthesis on selector (#20507)
Browse files Browse the repository at this point in the history
Co-Authored-By: Christian Wood <cwood821@users.noreply.github.com>

Co-authored-by: Christian Wood <christian@christianwood.net>
  • Loading branch information
aduth and cwood821 authored Mar 2, 2020
1 parent e985eb8 commit 1196354
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { __ } from '@wordpress/i18n';
function useHTMLClass( className ) {
useEffect( () => {
const element =
document && document.querySelector( `html:not(.${ className }` );
document && document.querySelector( `html:not(.${ className })` );
if ( ! element ) {
return;
}
Expand Down

0 comments on commit 1196354

Please sign in to comment.