From 0c5ea3fa63065170edf57db1a1e9053c2ec5e497 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 20 Dec 2021 16:41:03 +0100 Subject: Use ID instead of class for grid divs. --- ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui.js') 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"]); -- cgit v1.2.3