fixed a typo; also I had to comment out the service worker registration b/c Firefox is giving me crap about the URL

This commit is contained in:
Tobias 2023-08-29 21:12:22 +02:00
parent 9c8c9086b4
commit 5977740c43

View File

@ -1,5 +1,5 @@
// Register Service Worker
if ("serviceWorker" in navigator) {
/*if ("serviceWorker" in navigator) {
navigator.serviceWorker.register(
new URL("./service-worker.js"), { type: "module" }
).then( (registration) => {
@ -9,7 +9,7 @@ if ("serviceWorker" in navigator) {
});
} else {
console.error("Service workers are not supported.");
}
}*/
/*
@ -60,7 +60,7 @@ const DAMAGE_MONITOR_HTML = [
'<tr><td><button type="button" class="damage-stun active" tabindex="-1"></button></td><td><button type="button" class="damage-physical active" tabindex="-1"></button></td></tr>\n',
'<tr><td><button type="button" class="damage-stun active" tabindex="-1"></button></td><td><button type="button" class="damage-physical active" tabindex="-1"></button></td></tr>\n',
'<tr><td><button type="button" class="damage-stun active" tabindex="-1"></button></td><td><button type="button" class="damage-physical active" tabindex="-1"></button></td></tr>\n',
'<tr><td><button type="button" class="damage-stun active" title="K.O." tabindex="-1"><img src="zzz.png" height="16" /></button></td><td><button type="button" class="damage-physical active" title="dead" tabindex="-1" ><img src="cross.png" height="16"/></button></td></tr>\n',
'<tr><td><button type="button" class="damage-stun active" title="K.O." tabindex="-1"><img src="zzz.png" height="16" /></button></td><td><button type="button" class="damage-physical active" title="Dead" tabindex="-1" ><img src="cross.png" height="16"/></button></td></tr>\n',
'</table>\n',
'</div>'].join("");