]> source.dussan.org Git - jquery-ui.git/commitdiff
Spinner: Fixed map demo.
authorScott González <scott.gonzalez@gmail.com>
Wed, 14 Sep 2011 13:49:17 +0000 (09:49 -0400)
committerScott González <scott.gonzalez@gmail.com>
Wed, 14 Sep 2011 13:49:17 +0000 (09:49 -0400)
demos/spinner/latlong.html

index d1dc612b4cbcca517f977307fb5d2e6cbd1035b3..149d16103f3225517200546c8885595694f1259d 100644 (file)
@@ -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], {
 <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>