Merge pull request #1946 from LePichu/master

fix: random `Array` ref in `src/theme/book.js`
This commit is contained in:
Dylan DPC 2022-12-06 13:26:45 +05:30 committed by GitHub
commit 36e1f01091
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -166,7 +166,6 @@ function playground_text(playground) {
.filter(function (node) {return node.classList.contains("editable"); })
.forEach(function (block) { block.classList.remove('language-rust'); });
Array
code_nodes
.filter(function (node) {return !node.classList.contains("editable"); })
.forEach(function (block) { hljs.highlightBlock(block); });