Mercurial > hg > batmud > maputils
changeset 2727:6683547af623
Rename another function.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 07 Mar 2024 11:05:40 +0200 |
parents | b68157126f41 |
children | 4e2f9e5b0579 |
files | src/citymap.js |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/citymap.js Thu Mar 07 10:58:42 2024 +0200 +++ b/src/citymap.js Thu Mar 07 11:05:40 2024 +0200 @@ -164,7 +164,7 @@ } -function mapSetMapPosToID(eid) +function mapSetWindowPosToID(eid) { const dim = mapGetWindowSize(); var nelem = document.getElementById('maploc'+eid); @@ -199,7 +199,7 @@ mapSetStyle('maploc'+eid, "lochilite", true); mapSetStyle('listloc'+eid, "lochilite", true); - mapSetMapPosToID(eid); + mapSetWindowPosToID(eid); } @@ -308,7 +308,7 @@ setTimeout(function() { - mapSetMapPosToID(eid); + mapSetWindowPosToID(eid); }, 50); }