summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-11-01 14:27:25 +0100
committerTor Andersson <tor@ccxvii.net>2023-11-01 14:27:31 +0100
commit27864b8693d587285fa80a1b0f60c196a99b77a1 (patch)
treede055a19f5508d722d47826dc597ee49da37b373
parent02a81dfcc5beb1fbe784a3e261fd6416590f4755 (diff)
downloadalgeria-27864b8693d587285fa80a1b0f60c196a99b77a1.tar.gz
Fix webfont URL.
-rw-r--r--play.html8
-rw-r--r--play.js2
2 files changed, 5 insertions, 5 deletions
diff --git a/play.html b/play.html
index 9d3e2a1..70ef80c 100644
--- a/play.html
+++ b/play.html
@@ -14,10 +14,10 @@
<script defer src="play.js"></script>
<style>
-@font-face { font-family: "URW Gothic"; src: url(URWGothic-Book.woff2); }
-@font-face { font-family: "URW Gothic"; font-weight: bold; src: url(URWGothic-Demi.woff2); }
-@font-face { font-family: "URW Gothic"; font-style: italic; src: url(URWGothic-BookOblique.woff2); }
-@font-face { font-family: "URW Gothic"; font-style: italic; font-weight: bold; src: url(URWGothic-DemiOblique.woff2); }
+@font-face { font-family: "URW Gothic"; src: url(fonts/URWGothic-Book.woff2); }
+@font-face { font-family: "URW Gothic"; font-weight: bold; src: url(fonts/URWGothic-Demi.woff2); }
+@font-face { font-family: "URW Gothic"; font-style: italic; src: url(fonts/URWGothic-BookOblique.woff2); }
+@font-face { font-family: "URW Gothic"; font-style: italic; font-weight: bold; src: url(fonts/URWGothic-DemiOblique.woff2); }
:root {
--area-highlight-color: white;
diff --git a/play.js b/play.js
index f112701..6a9b66b 100644
--- a/play.js
+++ b/play.js
@@ -360,7 +360,7 @@ function is_loc_action(x) {
var stack_cache = []
var focus = null
-document.querySelector("main").addEventListener("mousedown", evt => {
+document.querySelector("#map").addEventListener("mousedown", evt => {
if (evt.button === 0)
blur_stack()
})