From 49092bb35d3f33e1459d858aa257d2cff89c9f7d 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 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" ]); -- cgit v1.2.3