diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-11-04 22:21:56 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-11-05 00:02:44 +0100 |
commit | 04373731a2e1c987fb643d80c32e578e13174933 (patch) | |
tree | 2cc948cb91a00bc4de584e5f7442c48922618cc9 /play.js | |
parent | e68ae8525302a324265ec58e955c9baf885e5221 (diff) | |
download | algeria-04373731a2e1c987fb643d80c32e578e13174933.tar.gz |
Scroll to city circle.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -965,7 +965,10 @@ function on_blur_area_tip(x) { // eslint-disable-line no-unused-vars } function on_click_area_tip(x) { // eslint-disable-line no-unused-vars - scroll_into_view(ui.areas[x]) + if (ui.areas_u[x]) + scroll_into_view(ui.areas_u[x]) + else + scroll_into_view(ui.areas[x]) } function sub_area_name(_match, p1, _offset, _string) { |