mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Documentation
This commit is contained in:
parent
9511569d05
commit
29cc1dddfa
@ -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) {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user