diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-12-20 16:41:03 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:08:56 +0100 |
commit | f8f0084761bf6be982cb6594a2e75e61773b3de0 (patch) | |
tree | 8e7a3b553ea46622243c938448fd29aabfefec74 /ui.js | |
parent | bbbd35a5e828a9f19b44544a80af9c1e7daf0299 (diff) | |
download | julius-caesar-f8f0084761bf6be982cb6594a2e75e61773b3de0.tar.gz |
Use ID instead of class for grid divs.
Diffstat (limited to 'ui.js')
-rw-r--r-- | ui.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" ]); |