dark by default
This commit is contained in:
parent
e20e8d907f
commit
255b62a3b3
@ -8,7 +8,7 @@
|
||||
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<body class="dark">
|
||||
@RenderBody()
|
||||
|
||||
<script src="~/lib/jquery/dist/jquery.min.js"></script>
|
||||
|
@ -63,11 +63,6 @@ $(function () {
|
||||
});
|
||||
});
|
||||
|
||||
// set dark mode
|
||||
if (window.location.hash == '#dark') {
|
||||
$('body').addClass('dark');
|
||||
}
|
||||
|
||||
let timer = null;
|
||||
|
||||
const ignoredKeyCodes = [17, 18, 20, 27, 37, 38, 39, 40, 91];
|
||||
|
Loading…
x
Reference in New Issue
Block a user