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>2023-02-18 12:42:59 +0100
commitca9b7b651f1a86eaeeca490333d1abb14ca77489 (patch)
tree62c7a6f91bea3fa478dca5fc6e27ef749984bbff /ui.js
parentd58f1834daf6112bd8e2bcbd32db062dedb75752 (diff)
download300-earth-and-water-ca9b7b651f1a86eaeeca490333d1abb14ca77489.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 1736404..630e914 100644
--- a/ui.js
+++ b/ui.js
@@ -649,5 +649,5 @@ if (param_role == GREECE)
document.getElementById("map").classList.add("greek");
build_ui();
-scroll_with_middle_mouse(".grid_center", 2);
+scroll_with_middle_mouse("#grid_center", 2);
init_client(["Greece", "Persia"]);