mirror of https://gitlab.com/gpvkt/twitchtts.git
Added DOCTYPE
This commit is contained in:
parent
135fe13a87
commit
0eac8a269e
7
tts.html
7
tts.html
|
@ -1,4 +1,5 @@
|
||||||
<html lang="de">
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<link href="./bootstrap.min.css" rel="stylesheet" />
|
<link href="./bootstrap.min.css" rel="stylesheet" />
|
||||||
<title>TTS</title>
|
<title>TTS</title>
|
||||||
|
@ -30,10 +31,9 @@
|
||||||
<button id="resume" class="btn btn-info mt-4 me-2">Resume</button>
|
<button id="resume" class="btn btn-info mt-4 me-2">Resume</button>
|
||||||
<button id="cancel" class="btn btn-danger mt-4 me-2">Cancel</button>
|
<button id="cancel" class="btn btn-danger mt-4 me-2">Cancel</button>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
|
||||||
<script src="./tts.js"></script>
|
<script src="./tts.js"></script>
|
||||||
<script>
|
<script>
|
||||||
$(document).ready ( function(){
|
$(document).ready (function(){
|
||||||
if (window.matchMedia) {
|
if (window.matchMedia) {
|
||||||
if(window.matchMedia('(prefers-color-scheme: dark)').matches){
|
if(window.matchMedia('(prefers-color-scheme: dark)').matches){
|
||||||
$('body').addClass('bg-dark');
|
$('body').addClass('bg-dark');
|
||||||
|
@ -45,4 +45,5 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue