aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2022-11-12 15:32:18 +0000
committerBen Harris <bjh21@bjh21.me.uk>2022-11-12 15:32:18 +0000
commit8ef28a4fd6b3b111b3d2c0446d9d82784d239d22 (patch)
treee96133f1e3f0a185a6616aa95b57e7a08395a0b4
parent208e2508d3ba459d32e31661a0fa9d1b4707dd0e (diff)
downloadpuzzles-8ef28a4fd6b3b111b3d2c0446d9d82784d239d22.zip
puzzles-8ef28a4fd6b3b111b3d2c0446d9d82784d239d22.tar.gz
puzzles-8ef28a4fd6b3b111b3d2c0446d9d82784d239d22.tar.bz2
puzzles-8ef28a4fd6b3b111b3d2c0446d9d82784d239d22.tar.xz
js: Remove class="text/css" from <style> element
This is the wrong attribute, and the correct type="text/css" is deprecated by MDN. Since it's never worked, the deprecated attribute presumably isn't needed either.
-rwxr-xr-xhtml/jspage.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/html/jspage.pl b/html/jspage.pl
index 86e7704..2b2688b 100755
--- a/html/jspage.pl
+++ b/html/jspage.pl
@@ -74,7 +74,7 @@ EOF
<meta http-equiv="Content-Type" content="text/html; charset=ASCII" />
<title>${puzzlename}, ${unfinishedtitlefragment}from Simon Tatham's Portable Puzzle Collection</title>
<script defer type="text/javascript" src="${jspath}${filename}.js"></script>
-<style class="text/css">
+<style>
/* Top-level form for the game menu */
#gamemenu {
margin-top: 0;