Changeset 54


Ignore:
Timestamp:
Oct 15, 2006, 11:34:13 PM (13 years ago)
Author:
David Sheldon
Message:

Fix anoying problem where the postcode box didn't appear in the right place the first time you click on it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/npemap.org.uk/static/tiles/postcode.js

    r51 r54  
    4141          markerElement.style.visibility = 'visible';
    4242         
     43          postcodeFormElement.style.display = 'block';
    4344          YAHOO.util.Dom.setXY(postcodeFormElement, [Math.max(0, (x-50)), (y-180) < 0 ? (y+10):(y-180)]);
    44           postcodeFormElement.style.display = 'block';
    4545          locationElement.innerHTML = easting + ', ' + northing
    4646          document.getElementById('easting').value = easting;
Note: See TracChangeset for help on using the changeset viewer.