summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-22 22:01:20 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-23 17:29:19 +0200
commit2a2bfd257c1785f9f132c31d7499fdfb89112a6b (patch)
tree295290982708fae7baa6d6827bbce97fb0c196a0 /play.js
parentb12ba58c5a6535b5063957d48b66fdfccf9e5ad2 (diff)
downloadandean-abyss-2a2bfd257c1785f9f132c31d7499fdfb89112a6b.tar.gz
Improve zooming layout.
Diffstat (limited to 'play.js')
-rw-r--r--play.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/play.js b/play.js
index dbe4c19..b3fa4e4 100644
--- a/play.js
+++ b/play.js
@@ -1584,14 +1584,3 @@ function map_get(map, key, missing) {
}
return missing
}
-
-// TODO: clean up this mess...
-var orig_toggle_zoom = toggle_zoom
-toggle_zoom = function () {
- orig_toggle_zoom()
- if (document.getElementById("mapwrap").classList.contains("fit"))
- document.getElementById("grid").classList.add("fit")
- else
- document.getElementById("grid").classList.remove("fit")
-}
-