summaryrefslogtreecommitdiff
path: root/ui.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-12-20 16:41:03 +0100
committerTor Andersson <tor@ccxvii.net>2022-11-17 12:53:18 +0100
commit49092bb35d3f33e1459d858aa257d2cff89c9f7d (patch)
tree94a045084e1a79a7260e419938bd144220421e59 /ui.js
parente10d69474d05c66b33d8d41e181348851a54ef89 (diff)
downloadhammer-of-the-scots-49092bb35d3f33e1459d858aa257d2cff89c9f7d.tar.gz
Use ID instead of class for grid divs.
Diffstat (limited to 'ui.js')
-rw-r--r--ui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.js b/ui.js
index 598ad5a..0e8dbbc 100644
--- a/ui.js
+++ b/ui.js
@@ -783,7 +783,7 @@ function on_update() {
drag_element_with_mouse(".battle", ".battle_header");
drag_element_with_mouse(".herald", ".herald_header");
-scroll_with_middle_mouse(".grid_center", 2);
+scroll_with_middle_mouse("#grid_center", 2);
init_map_zoom();
init_shift_zoom();
init_client([ "England", "Scotland" ]);