aboutsummaryrefslogtreecommitdiffstats
path: root/demos/spinner
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-09-14 09:49:17 -0400
committerScott González <scott.gonzalez@gmail.com>2011-09-14 09:49:17 -0400
commitbf0e9f01fb597120fd2a7e7279c6ae362400eec3 (patch)
treec179642f5df85bb52df85ea39200d04121f17859 /demos/spinner
parent6807d588ee18f3e5a842fa1d4391f86f2e2f679c (diff)
downloadjquery-ui-bf0e9f01fb597120fd2a7e7279c6ae362400eec3.tar.gz
jquery-ui-bf0e9f01fb597120fd2a7e7279c6ae362400eec3.zip
Spinner: Fixed map demo.
Diffstat (limited to 'demos/spinner')
-rw-r--r--demos/spinner/latlong.html9
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>