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