diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-10-22 22:01:20 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-10-23 17:29:19 +0200 |
commit | 2a2bfd257c1785f9f132c31d7499fdfb89112a6b (patch) | |
tree | 295290982708fae7baa6d6827bbce97fb0c196a0 /play.js | |
parent | b12ba58c5a6535b5063957d48b66fdfccf9e5ad2 (diff) | |
download | andean-abyss-2a2bfd257c1785f9f132c31d7499fdfb89112a6b.tar.gz |
Improve zooming layout.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -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") -} - |