Added DOCTYPE

This commit is contained in:
gpkvt 2022-08-25 22:18:20 +02:00
parent 135fe13a87
commit 0eac8a269e
1 changed files with 16 additions and 15 deletions

View File

@ -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>