1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-28 01:10:58 +01:00

Documentation

This commit is contained in:
squidfunk 2022-01-16 11:26:29 +01:00
parent 9511569d05
commit 29cc1dddfa
2 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@
giscus.setAttribute("data-theme", "dark")
}
/* Reload on palette change */
/* Register event handlers after documented loaded */
document.addEventListener("DOMContentLoaded", function() {
var ref = document.querySelector("[data-md-component=palette]")
component$.subscribe(function (component) {

View File

@ -35,7 +35,7 @@
gtag("js", new Date())
gtag("config", "{{ property }}")
/* Register virtual event handlers */
/* Register event handlers after documented loaded */
document.addEventListener("DOMContentLoaded", function() {
if (document.forms.search) {
var query = document.forms.search.query
@ -70,7 +70,7 @@
ga("set", "anonymizeIp", true)
ga("send", "pageview")
/* Register virtual event handlers */
/* Register event handlers after documented loaded */
document.addEventListener("DOMContentLoaded", function() {
if (document.forms.search) {
var query = document.forms.search.query