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" />
|
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body class="dark">
|
||||||
@RenderBody()
|
@RenderBody()
|
||||||
|
|
||||||
<script src="~/lib/jquery/dist/jquery.min.js"></script>
|
<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;
|
let timer = null;
|
||||||
|
|
||||||
const ignoredKeyCodes = [17, 18, 20, 27, 37, 38, 39, 40, 91];
|
const ignoredKeyCodes = [17, 18, 20, 27, 37, 38, 39, 40, 91];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user