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-16 19:08:56 +0100
commitf8f0084761bf6be982cb6594a2e75e61773b3de0 (patch)
tree8e7a3b553ea46622243c938448fd29aabfefec74 /ui.js
parentbbbd35a5e828a9f19b44544a80af9c1e7daf0299 (diff)
downloadjulius-caesar-f8f0084761bf6be982cb6594a2e75e61773b3de0.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 8bd27a5..0a0c15d 100644
--- a/ui.js
+++ b/ui.js
@@ -788,7 +788,7 @@ document.querySelector(".blocks").classList.add(label_style+'-labels');
document.querySelector(".battle").classList.add(label_style+'-labels');
drag_element_with_mouse(".battle", ".battle_header");
-scroll_with_middle_mouse(".grid_center");
+scroll_with_middle_mouse("#grid_center");
init_map_zoom();
init_shift_zoom();
init_client([ "Caesar", "Pompeius" ]);