mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2026-09-08 09:51:57 +00:00
Default to dark theme to avoid screen flashing and fix typo
This commit is contained in:
@@ -42,7 +42,7 @@ class DocsWriter:
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>{title}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link id="style" href="{rel_css}/docs.{def_css}.css" rel="stylesheet">
|
||||
<link id="style" href="{rel_css}/docs.dark.css" rel="stylesheet">
|
||||
<script>
|
||||
document.getElementById("style").href = "{rel_css}/docs."
|
||||
+ (localStorage.getItem("theme") || "{def_css}")
|
||||
|
||||
Reference in New Issue
Block a user