Permalink
Browse files

A bit of tidying

  • Loading branch information...
nealeu committed Feb 12, 2012
1 parent dc8c5bc commit 97255646be2b5a098e8f4f324b8e72dca300d917
@@ -1,7 +1,7 @@
<script type="text/javascript">
function success(position) {
var s = document.querySelector('#postcode');
- s.value = "{" + position.coords.latitude +"," + position.coords.longitude + "}"
+ s.value = "{" + position.coords.latitude +"," + position.coords.longitude + "}";
// alert( "you're at: " + position.coords.latitude +"," + position.coords.longitude );
};
@@ -5,6 +5,7 @@
<form:form action="search" method="post" >
+ <div id="location" style="display:none">Location: Near you</div>
<fieldset data-role="controlgroup" data-type="horizontal">
<mobile:edit-input attrName="postcode" popupHelp="Where? (Try the first part of a UK postcode e.g. SE1)" />
</fieldset>

0 comments on commit 9725564

Please sign in to comment.