1 parent 619f839 commit b3c3e33Copy full SHA for b3c3e33
1 file changed
assets/nav.js
@@ -101,7 +101,7 @@
101
}
102
103
// CodeMirror syntax highlighting on reference/example pages
104
- if (document.querySelector('.syntax-block, .impl-block, pre#code-pre') &&
+ if (document.querySelector('.syntax-block, .impl-block, pre#code-pre, #code-cm-wrap') &&
105
!document.getElementById('ref-cm-loaded')) {
106
const CDNJS = 'https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.65.16';
107
// Preload hints for faster script loading
0 commit comments