mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 09:26:37 +03:00
Default to dark theme to avoid screen flashing and fix typo
This commit is contained in:
parent
e852dccebf
commit
b9d4eb5449
|
@ -111,7 +111,7 @@ you're able to just do this:
|
|||
|
||||
All methods in the :ref:`telegram-client` call `.get_input_entity()
|
||||
<telethon.client.users.UserMethods.get_input_entity>` prior
|
||||
to sending the requst to save you from the hassle of doing so manually.
|
||||
to sending the request to save you from the hassle of doing so manually.
|
||||
That way, convenience calls such as `client.send_message('lonami', 'hi!')
|
||||
<telethon.client.messages.MessageMethods.send_message>`
|
||||
become possible.
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Telethon API</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link id="style" href="css/docs.light.css" rel="stylesheet">
|
||||
<link id="style" href="css/docs.dark.css" rel="stylesheet">
|
||||
<script>
|
||||
(function () {
|
||||
var style = document.getElementById('style');
|
||||
|
|
|
@ -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}")
|
||||
|
|
Loading…
Reference in New Issue
Block a user