Commit 83b2e0f0 authored by Porter Libby's avatar Porter Libby
Browse files

small fixes 2

parent a1ee423c
......@@ -473,7 +473,7 @@ function renderTrips(tripnames, tripids, r_count, s_count){
trips_ls.id = 'trips-ls';
for(x = 0; x < tripnames.length; x++){
var elem = createRadioElementTrips((x % 2),'trips', [r_count[x], s_count[x]], tripnames[x],tripids[x]); // util function
var elem = createRadioElementTrips('trips', [r_count[x], s_count[x]], tripnames[x],tripids[x]); // util function
trips_ls.innerHTML += elem;
}
container.append(trips_ls);
......
......@@ -71,7 +71,7 @@ function createRadioElement(name, id, label, f, count=999){
}
// take information from data.js and write it into html
function createRadioElementTrips( mode, name, count, label, id ) {
function createRadioElementTrips( name, count, label, id ) {
var f = "getSites";
return createRadioElement(name, id, label, f, count[query_type]);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment