fixing bad value

This commit is contained in:
Matt Burchett 2018-01-23 18:13:06 -06:00
parent 1b17c521ba
commit ead59d9206

View File

@ -40,12 +40,9 @@ $(document).ready(function() {
zoomfocus(stop); zoomfocus(stop);
}); });
$('#swapab').click(function() { $('#swapab').click(function() {
var pa = $("#pointa"); var swap=$('#pointa').val();
var pb = $("#pointb"); $("#pointa").val($("#pointb").val());
$("#pointa").remove(); $("#pointb").val(swap);
$("#pointb").remove();
$("#pointa").html(pb);
$("#pointb").html(pa);
}); });
$('#calctnd').click(function() { $('#calctnd').click(function() {