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:19:39 +0100
commit0c5ea3fa63065170edf57db1a1e9053c2ec5e497 (patch)
tree4347a3be22b943ef16e2a4eda34585164541700a /ui.js
parentf778826847895a3bea0e31eb577204646fd20469 (diff)
downloadcrusader-rex-0c5ea3fa63065170edf57db1a1e9053c2ec5e497.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 a39553d..4481132 100644
--- a/ui.js
+++ b/ui.js
@@ -797,7 +797,7 @@ function on_update() {
build_map();
drag_element_with_mouse(".battle", ".battle_header");
-scroll_with_middle_mouse(".grid_center", 3);
+scroll_with_middle_mouse("#grid_center", 3);
init_map_zoom();
init_shift_zoom();
init_client(["Franks", "Saracens"]);