Skip to content

Commit

Permalink
Fix ESLint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Dec 26, 2024
1 parent e86c778 commit e5cc26e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/src/hooks/contrast-checker.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function detectColors( blockEl ) {

function createStyleObserver( node, callback ) {
// Watch for changes to style-related attributes
const observer = new MutationObserver( ( mutations ) => {
const observer = new window.MutationObserver( ( mutations ) => {
const hasStyleChanges = mutations.some(
( mutation ) => mutation.attributeName === 'style'
);
Expand Down

0 comments on commit e5cc26e

Please sign in to comment.