summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()
})