mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-30 17:46:21 -04:00
Added distriution files for removed outline
This commit is contained in:
@@ -179,7 +179,9 @@ export function initialize(config: unknown) {
|
||||
|
||||
const keyboard$ = setupKeyboard()
|
||||
|
||||
patchCodeBlocks({ document$, viewport$ })
|
||||
// Hack: only make code blocks focusable on non-touch devices
|
||||
if (matchMedia("(hover)").matches)
|
||||
patchCodeBlocks({ document$, viewport$ })
|
||||
patchDetails({ document$, hash$ })
|
||||
patchScripts({ document$ })
|
||||
patchSource({ document$ })
|
||||
|
||||
Reference in New Issue
Block a user