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:12:42 +0100
commit82996f9a86ca92f4df50f33dedc0e73a3412a004 (patch)
treef377db7465b0909e1921f5aa03361b4225545c03 /ui.js
parentbf6c5d7feb7f08c5357389326f85ebb9441446b2 (diff)
downloadshores-of-tripoli-82996f9a86ca92f4df50f33dedc0e73a3412a004.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 2c27695..92fb42f 100644
--- a/ui.js
+++ b/ui.js
@@ -551,6 +551,6 @@ function on_click_card(evt) {
/* INITIALIZE CLIENT */
build_map();
-scroll_with_middle_mouse(".grid_center");
+scroll_with_middle_mouse("#grid_center");
init_map_zoom();
init_client([ "United States", "Tripolitania" ]);