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>
|
||||
<link href="./bootstrap.min.css" rel="stylesheet" />
|
||||
<title>TTS</title>
|
||||
|
@ -30,10 +31,9 @@
|
|||
<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>
|
||||
</div>
|
||||
</body>
|
||||
<script src="./tts.js"></script>
|
||||
<script>
|
||||
$(document).ready ( function(){
|
||||
$(document).ready (function(){
|
||||
if (window.matchMedia) {
|
||||
if(window.matchMedia('(prefers-color-scheme: dark)').matches){
|
||||
$('body').addClass('bg-dark');
|
||||
|
@ -45,4 +45,5 @@
|
|||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue