Mercurial > hg > batmud > gmap2
changeset 181:17646f458b1c gmap2
Cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 12 Mar 2014 00:21:46 +0200 |
parents | 662e8b5ec9a5 |
children | d314c48d16a9 |
files | markers.js |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/markers.js Tue Mar 11 23:04:29 2014 +0200 +++ b/markers.js Wed Mar 12 00:21:46 2014 +0200 @@ -50,9 +50,7 @@ if (mclass == "builtin") { - pmapBuiltin[pmapBIndex] = new Array(2); - pmapBuiltin[pmapBIndex][0] = type; - pmapBuiltin[pmapBIndex][1] = continent; + pmapBuiltin[pmapBIndex] = [type, continent]; pmapSideBuiltinHTML += '<a class="'+continent+'" id="marker'+pmapBIndex+'" href="javascript:pmapMyClick('+ pmapMIndex +')">'+ name +'</a>'; pmapBIndex++; }