Skip to content

Commit

Permalink
BACKLOG-21313: disable anthracite nav (#908)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Draier authored Aug 1, 2023
1 parent 0fba428 commit 87c9d0d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/javascript/ContentEditor/register.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,11 @@ export function register() {
}
};

if (window?.Anthracite?.nav) {
window.Anthracite.nav.pushState = () => {};
window.Anthracite.nav.pullState = () => {};
window.Anthracite.nav.onPopState = () => {};
}

console.debug('%c Content Editor is activated', 'color: #3c8cba');
}

0 comments on commit 87c9d0d

Please sign in to comment.