diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-09-14 09:49:17 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-09-14 09:49:17 -0400 |
commit | bf0e9f01fb597120fd2a7e7279c6ae362400eec3 (patch) | |
tree | c179642f5df85bb52df85ea39200d04121f17859 /demos/spinner | |
parent | 6807d588ee18f3e5a842fa1d4391f86f2e2f679c (diff) | |
download | jquery-ui-bf0e9f01fb597120fd2a7e7279c6ae362400eec3.tar.gz jquery-ui-bf0e9f01fb597120fd2a7e7279c6ae362400eec3.zip |
Spinner: Fixed map demo.
Diffstat (limited to 'demos/spinner')
-rw-r--r-- | demos/spinner/latlong.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/demos/spinner/latlong.html b/demos/spinner/latlong.html index d1dc612b4..149d16103 100644 --- a/demos/spinner/latlong.html +++ b/demos/spinner/latlong.html @@ -21,8 +21,9 @@ map.setCenter( latlong() ); } $( "#lat, #lng" ).spinner({ - precision: 6, - change: position + step: .001, + change: position, + stop: position }); var map = new google.maps.Map( $("#map")[0], { @@ -44,10 +45,10 @@ <div class="demo"> <label for="lat">Latitude</label> -<input id="lat" name="lat" value="44.797916"> +<input id="lat" name="lat" value="44.797"> <br> <label for="lng">Longitude</label> -<input id="lng" name="lng" value="-93.278046"> +<input id="lng" name="lng" value="-93.278"> <div id="map"></div> |